Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Represents a condition, that has to be fulfilled in order to execute a state machine transition after a certain event. More...
#include <mitkStateMachineCondition.h>
Public Member Functions | |
StateMachineCondition (const std::string &, const bool inverted) | |
~StateMachineCondition () | |
std::string | GetConditionName () const |
Returns the String-Id of this action. More... | |
bool | IsInverted () const |
Represents a condition, that has to be fulfilled in order to execute a state machine transition after a certain event.
This class represents a condition in the interaction framework. A condition corresponds to a transition (StateMachineTransition) between two states (StateMachineState) and models one requirement that has to be fulfilled in order to execute its transition.
A condition returns either true or false. If the condition is to be inverted, the bool-flag m_Inverted is set to true.
example:
Definition at line 47 of file mitkStateMachineCondition.h.
mitk::StateMachineCondition::StateMachineCondition | ( | const std::string & | , |
const bool | inverted | ||
) |
mitk::StateMachineCondition::~StateMachineCondition | ( | ) |
std::string mitk::StateMachineCondition::GetConditionName | ( | ) | const |
Returns the String-Id of this action.
bool mitk::StateMachineCondition::IsInverted | ( | ) | const |