|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Connects two states, and holds references to corresponding actions and conditions. More...
#include <mitkStateMachineTransition.h>


Public Member Functions | |
| mitkClassMacroItkParent (StateMachineTransition, itk::LightObject) | |
| mitkNewMacro3Param (Self, const std::string &, const std::string &, const std::string &) | |
| SpStateMachineState | GetNextState () const |
| Return the next state that this transition leads to. More... | |
| std::string | GetNextStateName () const |
| Return the name of the next state that this transition leads to. More... | |
| bool | operator== (const StateMachineTransition &transition) const |
| Check for equality with another transition. More... | |
| ActionVectorType | GetActions () const |
| Return the list of actions associated with this transition. More... | |
| const ConditionVectorType & | GetConditions () const |
| Return the list of conditions associated with this transition. More... | |
| void | SetNextState (const SpStateMachineState &nextState) |
| Set the next state of this transition. More... | |
Protected Member Functions | |
| StateMachineTransition (const std::string &nextStateName, const std::string &eventClass, const std::string &eventVariant) | |
| ~StateMachineTransition () override | |
Protected Attributes | |
| std::string | m_EventClass |
| std::string | m_EventVariant |
Connects two states, and holds references to corresponding actions and conditions.
This class represents a transition between two states of a statemachine. It holds a list of conditions that have to be fulfilled in order to be executed correctly. It also holds a list of actions that will be executed if all conditions are fulfilled.
Definition at line 44 of file mitkStateMachineTransition.h.
|
protected |
|
overrideprotected |
| ActionVectorType mitk::StateMachineTransition::GetActions | ( | ) | const |
Return the list of actions associated with this transition.
| const ConditionVectorType& mitk::StateMachineTransition::GetConditions | ( | ) | const |
Return the list of conditions associated with this transition.
| SpStateMachineState mitk::StateMachineTransition::GetNextState | ( | ) | const |
Return the next state that this transition leads to.
| std::string mitk::StateMachineTransition::GetNextStateName | ( | ) | const |
Return the name of the next state that this transition leads to.
| mitk::StateMachineTransition::mitkClassMacroItkParent | ( | StateMachineTransition | , |
| itk::LightObject | |||
| ) |
| mitk::StateMachineTransition::mitkNewMacro3Param | ( | Self | , |
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | |||
| ) |
| bool mitk::StateMachineTransition::operator== | ( | const StateMachineTransition & | transition | ) | const |
Check for equality with another transition.
Equality is given if the event variant is the same and classes are the same or the first argument is a superclass of the second.
| [in] | transition | the transition to compare with. |
| void mitk::StateMachineTransition::SetNextState | ( | const SpStateMachineState & | nextState | ) |
Set the next state of this transition.
| [in] | nextState | the state to transition to. |
|
protected |
Definition at line 104 of file mitkStateMachineTransition.h.
|
protected |
Definition at line 105 of file mitkStateMachineTransition.h.