Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryCommandManagerEvent.h>
Public Member Functions | |
berryObjectMacro (CommandManagerEvent) | |
CommandManagerEvent (CommandManager &commandManager, const QString &commandId, const bool commandIdAdded, const bool commandIdChanged, const QString &categoryId, const bool categoryIdAdded, const bool categoryIdChanged) | |
CommandManagerEvent (CommandManager &commandManager, const QString ¶meterTypeId, const bool parameterTypeIdAdded, const bool parameterTypeIdChanged) | |
QString | GetCategoryId () const |
QString | GetCommandId () const |
CommandManager & | GetCommandManager () const |
QString | GetParameterTypeId () const |
bool | IsCategoryChanged () const |
bool | IsCategoryDefined () const |
bool | IsCommandChanged () const |
bool | IsCommandDefined () const |
bool | IsParameterTypeChanged () const |
bool | IsParameterTypeDefined () const |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
virtual void | Delete () |
QDebug | Print (QDebug os, Indent Indent=0) const |
virtual QString | ToString () const |
virtual uint | HashCode () const |
virtual bool | operator< (const Object *) const |
void | Register () const |
void | UnRegister (bool del=true) const |
int | GetReferenceCount () const |
void | SetReferenceCount (int) |
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
virtual bool | operator== (const Object *) const |
Additional Inherited Members | |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Member Functions inherited from berry::Object | |
Object () | |
virtual | ~Object () |
virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
An event indicating that the set of defined command identifiers has changed.
Definition at line 38 of file berryCommandManagerEvent.h.
berry::CommandManagerEvent::CommandManagerEvent | ( | CommandManager & | commandManager, |
const QString & | commandId, | ||
const bool | commandIdAdded, | ||
const bool | commandIdChanged, | ||
const QString & | categoryId, | ||
const bool | categoryIdAdded, | ||
const bool | categoryIdChanged | ||
) |
Creates a new CommandManagerEvent
instance to describe changes to commands and/or categories.
commandManager | the instance of the interface that changed; must not be null . |
commandId | The command identifier that was added or removed; must not be null if commandIdChanged is true . |
commandIdAdded | Whether the command identifier became defined (otherwise, it became undefined). |
commandIdChanged | Whether the list of defined command identifiers has changed. |
categoryId | The category identifier that was added or removed; must not be null if categoryIdChanged is true . |
categoryIdAdded | Whether the category identifier became defined (otherwise, it became undefined). |
categoryIdChanged | Whether the list of defined category identifiers has changed. |
Definition at line 31 of file berryCommandManagerEvent.cpp.
berry::CommandManagerEvent::CommandManagerEvent | ( | CommandManager & | commandManager, |
const QString & | parameterTypeId, | ||
const bool | parameterTypeIdAdded, | ||
const bool | parameterTypeIdChanged | ||
) |
Creates a new CommandManagerEvent
instance to describe changes to command parameter types.
commandManager | the instance of the interface that changed; must not be null . |
parameterTypeId | The command parameter type identifier that was added or removed; must not be null if parameterTypeIdChanged is true . |
parameterTypeIdAdded | Whether the parameter type identifier became defined (otherwise, it became undefined). |
parameterTypeIdChanged | Whether the list of defined parameter type identifiers has changed. |
Definition at line 66 of file berryCommandManagerEvent.cpp.
berry::CommandManagerEvent::berryObjectMacro | ( | CommandManagerEvent | ) |
QString berry::CommandManagerEvent::GetCategoryId | ( | ) | const |
Returns the category identifier that was added or removed.
null
. Definition at line 92 of file berryCommandManagerEvent.cpp.
QString berry::CommandManagerEvent::GetCommandId | ( | ) | const |
Returns the command identifier that was added or removed.
null
. Definition at line 97 of file berryCommandManagerEvent.cpp.
CommandManager & berry::CommandManagerEvent::GetCommandManager | ( | ) | const |
Returns the instance of the interface that changed.
null
. Definition at line 102 of file berryCommandManagerEvent.cpp.
QString berry::CommandManagerEvent::GetParameterTypeId | ( | ) | const |
Returns the command parameter type identifier that was added or removed.
null
.Definition at line 107 of file berryCommandManagerEvent.cpp.
bool berry::CommandManagerEvent::IsCategoryChanged | ( | ) | const |
Returns whether the list of defined category identifiers has changed.
true
if the list of category identifiers has changed; false
otherwise. Definition at line 112 of file berryCommandManagerEvent.cpp.
bool berry::CommandManagerEvent::IsCategoryDefined | ( | ) | const |
Returns whether the category identifier became defined. Otherwise, the category identifier became undefined.
true
if the category identifier became defined; false
if the category identifier became undefined. Definition at line 117 of file berryCommandManagerEvent.cpp.
bool berry::CommandManagerEvent::IsCommandChanged | ( | ) | const |
Returns whether the list of defined command identifiers has changed.
true
if the list of command identifiers has changed; false
otherwise. Definition at line 123 of file berryCommandManagerEvent.cpp.
bool berry::CommandManagerEvent::IsCommandDefined | ( | ) | const |
Returns whether the command identifier became defined. Otherwise, the command identifier became undefined.
true
if the command identifier became defined; false
if the command identifier became undefined. Definition at line 128 of file berryCommandManagerEvent.cpp.
bool berry::CommandManagerEvent::IsParameterTypeChanged | ( | ) | const |
Returns whether the list of defined command parameter type identifiers has changed.
true
if the list of command parameter type identifiers has changed; false
otherwise.Definition at line 134 of file berryCommandManagerEvent.cpp.
bool berry::CommandManagerEvent::IsParameterTypeDefined | ( | ) | const |
Returns whether the command parameter type identifier became defined. Otherwise, the command parameter type identifier became undefined.
true
if the command parameter type identifier became defined; false
if the command parameter type identifier became undefined.Definition at line 139 of file berryCommandManagerEvent.cpp.