#include "mitkCommon.h"
#include <itkObject.h>
#include "mitkOperationActor.h"
#include <string>
#include "mitkState.h"
#include "mitkUndoModel.h"
Go to the source code of this file.
Classes | |
class | mitk::TStateMachineFunctor |
class | mitk::TSpecificStateMachineFunctor< T > |
class | mitk::StateMachine |
Superior statemachineRealizes the methods, that every statemachine has to have. Undo can be enabled and disabled through EnableUndo. More... | |
Namespaces | |
namespace | mitk |
Qmitk. | |
Defines | |
#define | CONNECT_ACTION(a, f) StateMachine::AddActionFunction(a, new TSpecificStateMachineFunctor<Self>(this, &Self::f)); |
#define | STATEMACHINE_INFO MITK_INFO("StateMachine") |
#define | STATEMACHINE_WARN MITK_WARN("StateMachine") |
#define | STATEMACHINE_FATAL MITK_FATAL("StateMachine") |
#define | STATEMACHINE_ERROR MITK_ERROR("StateMachine") |
#define | STATEMACHINE_DEBUG MITK_DEBUG("StateMachine") |
#define CONNECT_ACTION | ( | a, | |
f | |||
) | StateMachine::AddActionFunction(a, new TSpecificStateMachineFunctor<Self>(this, &Self::f)); |
Can be uses by derived classes of StateMachine to connect action IDs to methods Assumes that there is a typedef Classname Self in classes that use this macro
Definition at line 72 of file mitkStateMachine.h.
Referenced by mitk::Interactor::Interactor(), mitk::SegTool2D::SegTool2D(), mitk::SpaceNavigatorVtkCameraController::SpaceNavigatorVtkCameraController(), mitk::TDMouseVtkCameraController::TDMouseVtkCameraController(), and mitk::WiiMoteVtkCameraController::WiiMoteVtkCameraController().
#define STATEMACHINE_DEBUG MITK_DEBUG("StateMachine") |
Definition at line 79 of file mitkStateMachine.h.
Referenced by mitk::PointSetInteractor::ExecuteAction(), and mitk::StateMachine::HandleEvent().
#define STATEMACHINE_ERROR MITK_ERROR("StateMachine") |
Definition at line 78 of file mitkStateMachine.h.
Referenced by mitk::StateMachine::HandleEvent().
#define STATEMACHINE_FATAL MITK_FATAL("StateMachine") |
Definition at line 77 of file mitkStateMachine.h.
Referenced by mitk::StateMachine::InitializeStartStates(), and mitk::StateMachineFactory::StartElement().
#define STATEMACHINE_INFO MITK_INFO("StateMachine") |
Definition at line 75 of file mitkStateMachine.h.
#define STATEMACHINE_WARN MITK_WARN("StateMachine") |
Definition at line 76 of file mitkStateMachine.h.
Referenced by mitk::StateMachineFactory::AddStateMachinePattern(), mitk::StateMachine::ExecuteOperation(), and mitk::PointSetInteractor::PointSetInteractor().