13 #ifndef mitkStateMachineTransition_h
14 #define mitkStateMachineTransition_h
20 #include <itkLightObject.h>
27 class StateMachineState;
46 friend class StateMachineFactory;
76 const std::string &eventClass,
77 const std::string &eventVariant);
91 std::string m_NextStateName;
98 std::vector<StateMachineAction::Pointer> m_Actions;
Represents a condition, that has to be fulfilled in order to execute a state machine transition after...
Connects two states, and holds references to corresponding actions and conditions.
StateMachineTransition(const std::string &nextStateName, const std::string &eventClass, const std::string &eventVariant)
std::string GetNextStateName() const
void SetNextState(const SpStateMachineState &nextState)
Set the next state of this object.
std::string m_EventVariant
bool operator==(const StateMachineTransition &transition) const
const ConditionVectorType & GetConditions() const
SpStateMachineState GetNextState() const
~StateMachineTransition() override
ActionVectorType GetActions() const
Get an iterator on the first action in list.
#define mitkClassMacroItkParent(className, SuperClassName)
#define mitkNewMacro3Param(classname, typea, typeb, typec)
Find image slices visible on a given plane.
std::vector< mitk::StateMachineAction::Pointer > ActionVectorType
itk::SmartPointer< StateMachineState > SpStateMachineState
std::vector< StateMachineCondition > ConditionVectorType