13 #ifndef mitkStateMachineState_h
14 #define mitkStateMachineState_h
18 #include <itkLightObject.h>
38 typedef std::vector<mitk::StateMachineState::Pointer>
StateMap;
102 std::string m_StateMode;
Represents a state of a state machine pattern.
std::vector< StateMachineTransition::Pointer > TransitionVector
std::vector< mitk::StateMachineState::Pointer > StateMap
TransitionVector GetTransitionList(const std::string &eventClass, const std::string &eventVariant)
Return all transitions matching the given event description.
std::string GetMode() const
Return the mode of this state.
mitkNewMacro2Param(Self, const std::string &, const std::string &)
StateMachineState(const std::string &name, const std::string &stateMode)
bool ConnectTransitions(StateMap *allStates)
Connect all transitions to their target states by resolving state name references.
mitkClassMacroItkParent(StateMachineState, itk::LightObject)
bool AddTransition(StateMachineTransition::Pointer transition)
Add a transition to this state.
~StateMachineState() override
std::string GetName() const
Return the name of this state.
Find image slices visible on a given plane.