17 #ifndef SMTRANSITION_H_HEADER_INCLUDED
18 #define SMTRANSITION_H_HEADER_INCLUDED
24 #include <itkLightObject.h>
50 friend class StateMachineFactory;
57 SpStateMachineState GetNextState()
const;
58 std::string GetNextStateName()
const;
69 ActionVectorType GetActions()
const;
71 const ConditionVectorType &GetConditions()
const;
76 void SetNextState(
const SpStateMachineState &nextState);
80 const std::string &eventClass,
81 const std::string &eventVariant);
93 SpStateMachineState m_NextState;
95 std::string m_NextStateName;
102 std::vector<StateMachineAction::Pointer> m_Actions;
104 ConditionVectorType m_Conditions;
itk::SmartPointer< StateMachineState > SpStateMachineState
std::vector< mitk::StateMachineAction::Pointer > ActionVectorType
DataCollection - Class to facilitate loading/accessing structured data.
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
#define mitkClassMacroItkParent(className, SuperClassName)
Connects two states, and holds references to corresponding actions and conditions.
std::string m_EventVariant
#define mitkNewMacro3Param(classname, typea, typeb, typec)
Represents a condition, that has to be fulfilled in order to execute a state machine transition after...
std::vector< StateMachineCondition > ConditionVectorType