#include <Libs/PluginFramework/ctkPluginFrameworkEvent.h>
Public Types | |
enum | Type { STARTED, ERROR, WARNING, INFO, STOPPED, STOPPED_UPDATE, WAIT_TIMEDOUT } |
Public Member Functions | |
ctkPluginFrameworkEvent () | |
ctkPluginFrameworkEvent (Type type, ctkPlugin *plugin, const std::exception &fwException) | |
ctkPluginFrameworkEvent (const ctkPluginFrameworkEvent &other) | |
ctkPluginFrameworkEvent (Type type, ctkPlugin *plugin) | |
QString | getErrorString () const |
ctkPlugin * | getPlugin () const |
Type | getType () const |
Properties | |
QSharedDataPointer < ctkPluginFrameworkEventData > | d |
QString | errorString |
ctkPlugin | plugin |
Type | type |
A general event from the Framework.
ctkPluginFrameworkEvent
objects are delivered to slots connected FrameworkListener
s when a general event occurs within the plugin environment. A type code is used to identify the event type for future extendability.
Definition at line 46 of file ctkPluginFrameworkEvent.h.
Definition at line 58 of file ctkPluginFrameworkEvent.h.
ctkPluginFrameworkEvent::ctkPluginFrameworkEvent | ( | ) |
Default constructor for use with the Qt meta object system.
Definition at line 25 of file ctkPluginFrameworkEvent.cpp.
ctkPluginFrameworkEvent::ctkPluginFrameworkEvent | ( | Type | type, | |
ctkPlugin * | plugin, | |||
const std::exception & | fwException | |||
) |
Creates a Framework event regarding the specified plugin and exception.
type | The event type. | |
plugin | The event source. | |
fwException | The related exception. |
Definition at line 31 of file ctkPluginFrameworkEvent.cpp.
Creates a Framework event regarding the specified plugin.
type | The event type. | |
plugin | The event source. |
Definition at line 37 of file ctkPluginFrameworkEvent.cpp.
ctkPluginFrameworkEvent::ctkPluginFrameworkEvent | ( | const ctkPluginFrameworkEvent & | other | ) |
Definition at line 43 of file ctkPluginFrameworkEvent.cpp.
QString ctkPluginFrameworkEvent::getErrorString | ( | ) | const |
Returns the exception error string related to this event.
Definition at line 49 of file ctkPluginFrameworkEvent.cpp.
ctkPlugin * ctkPluginFrameworkEvent::getPlugin | ( | ) | const |
Returns the plugin associated with the event. This plugin is also the source of the event.
Definition at line 54 of file ctkPluginFrameworkEvent.cpp.
ctkPluginFrameworkEvent::Type ctkPluginFrameworkEvent::getType | ( | ) | const |
Returns the type of framework event.
The type values are:
Definition at line 59 of file ctkPluginFrameworkEvent.cpp.
QSharedDataPointer<ctkPluginFrameworkEventData> ctkPluginFrameworkEvent::d |
Definition at line 54 of file ctkPluginFrameworkEvent.h.
QString ctkPluginFrameworkEvent::errorString [read] |
Definition at line 51 of file ctkPluginFrameworkEvent.h.
ctkPlugin ctkPluginFrameworkEvent::plugin [read] |
Definition at line 50 of file ctkPluginFrameworkEvent.h.
Type ctkPluginFrameworkEvent::type [read] |
Definition at line 49 of file ctkPluginFrameworkEvent.h.