13 #ifndef SMTRANSITION_H_HEADER_INCLUDED 14 #define SMTRANSITION_H_HEADER_INCLUDED 20 #include <itkLightObject.h> 46 friend class StateMachineFactory;
53 SpStateMachineState GetNextState()
const;
54 std::string GetNextStateName()
const;
65 ActionVectorType GetActions()
const;
67 const ConditionVectorType &GetConditions()
const;
72 void SetNextState(
const SpStateMachineState &nextState);
76 const std::string &eventClass,
77 const std::string &eventVariant);
89 SpStateMachineState m_NextState;
91 std::string m_NextStateName;
98 std::vector<StateMachineAction::Pointer> m_Actions;
100 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