Classes | Namespaces | Defines

mitkStateMachine.h File Reference

#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 Documentation

#define CONNECT_ACTION (   a,
 
)    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")
#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")
#define STATEMACHINE_INFO   MITK_INFO("StateMachine")

Definition at line 75 of file mitkStateMachine.h.

#define STATEMACHINE_WARN   MITK_WARN("StateMachine")
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines