|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Represents an action that is executed after a certain event in the state machine mechanism. More...
#include <mitkAction.h>


Public Member Functions | |
| mitkClassMacroItkParent (Action, itk::Object) | |
| mitkNewMacro1Param (Self, int) | |
| Static New method for SmartPointer-based construction. More... | |
| void | AddProperty (const char *propertyKey, BaseProperty *property) |
| Add a property to the action's property list. More... | |
| int | GetActionId () const |
| Get the ID of this action. More... | |
| mitk::BaseProperty * | GetProperty (const char *propertyKey) const |
| Get a property by its key. More... | |
Protected Member Functions | |
| Action (int actionId) | |
| Construct an action with the given ID. More... | |
| ~Action () override | |
| Destructor. More... | |
Represents an action that is executed after a certain event in the state machine mechanism.
An Action encapsulates an action ID and an optional set of properties that parameterize the action's behavior. Actions are used by the interaction state machine to execute responses to user input events.
Definition at line 33 of file mitkAction.h.
|
protected |
Construct an action with the given ID.
| [in] | actionId | The unique action identifier. |
|
overrideprotected |
Destructor.
| void mitk::Action::AddProperty | ( | const char * | propertyKey, |
| BaseProperty * | property | ||
| ) |
Add a property to the action's property list.
| [in] | propertyKey | The key under which to store the property. |
| [in] | property | The property instance to add. |
| int mitk::Action::GetActionId | ( | ) | const |
Get the ID of this action.
| mitk::BaseProperty* mitk::Action::GetProperty | ( | const char * | propertyKey | ) | const |
Get a property by its key.
| [in] | propertyKey | The key of the property to retrieve. |
| mitk::Action::mitkClassMacroItkParent | ( | Action | , |
| itk::Object | |||
| ) |
| mitk::Action::mitkNewMacro1Param | ( | Self | , |
| int | |||
| ) |
Static New method for SmartPointer-based construction.