Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <mitkStateMachineState.h>
Public Types | |
typedef StateMachineState | Self |
typedef itk::LightObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::vector< mitk::StateMachineState::Pointer > | StateMap |
typedef std::vector< StateMachineTransition::Pointer > | TransitionVector |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
bool | AddTransition (StateMachineTransition::Pointer transition) |
StateMachineTransition::Pointer | GetTransition (const std::string &eventClass, const std::string &eventVariant) |
Return Transition which matches given event description. More... | |
TransitionVector | GetTransitionList (const std::string &eventClass, const std::string &eventVariant) |
Return Transitions that match given event description. More... | |
std::string | GetName () const |
Returns the name. More... | |
std::string | GetMode () const |
bool | ConnectTransitions (StateMap *allStates) |
Searches dedicated States of all Transitions and sets *nextState of these Transitions. Required for this is a List of all build States of that StateMachine (allStates). This way the StateMachine can be build up. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (const std::string &_arga, const std::string &_argb) |
Protected Member Functions | |
StateMachineState (const std::string &name, const std::string &stateMode) | |
~StateMachineState () override | |
Represents a state of a state machine pattern. It holds transitions to other states (mitk::StateMachineTransition) and the mode of the current state, see m_StateMode .
Definition at line 30 of file mitkStateMachineState.h.
typedef itk::SmartPointer<const Self> mitk::StateMachineState::ConstPointer |
Definition at line 33 of file mitkStateMachineState.h.
Definition at line 33 of file mitkStateMachineState.h.
Definition at line 33 of file mitkStateMachineState.h.
typedef std::vector<mitk::StateMachineState::Pointer> mitk::StateMachineState::StateMap |
Definition at line 34 of file mitkStateMachineState.h.
typedef itk::LightObject mitk::StateMachineState::Superclass |
Definition at line 33 of file mitkStateMachineState.h.
typedef std::vector<StateMachineTransition::Pointer> mitk::StateMachineState::TransitionVector |
Definition at line 37 of file mitkStateMachineState.h.
|
protected |
|
overrideprotected |
bool mitk::StateMachineState::AddTransition | ( | StateMachineTransition::Pointer | transition | ) |
bool mitk::StateMachineState::ConnectTransitions | ( | StateMap * | allStates | ) |
Searches dedicated States of all Transitions and sets *nextState of these Transitions. Required for this is a List of all build States of that StateMachine (allStates). This way the StateMachine can be build up.
|
inlinevirtual |
Definition at line 33 of file mitkStateMachineState.h.
|
virtual |
std::string mitk::StateMachineState::GetMode | ( | ) | const |
std::string mitk::StateMachineState::GetName | ( | ) | const |
Returns the name.
|
inlinestatic |
Definition at line 33 of file mitkStateMachineState.h.
StateMachineTransition::Pointer mitk::StateMachineState::GetTransition | ( | const std::string & | eventClass, |
const std::string & | eventVariant | ||
) |
Return Transition which matches given event description.
TransitionVector mitk::StateMachineState::GetTransitionList | ( | const std::string & | eventClass, |
const std::string & | eventVariant | ||
) |
Return Transitions that match given event description.
|
inlinestatic |
Definition at line 34 of file mitkStateMachineState.h.