Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkStateMachineAction.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkStateMachineAction_h
14
#define mitkStateMachineAction_h
15
16
#include "
MitkCoreExports.h
"
17
#include "
mitkCommon.h
"
18
#include <itkLightObject.h>
19
#include <itkObjectFactory.h>
20
#include <string>
21
22
namespace
mitk
23
{
24
//##Documentation
25
//## @brief Represents an action, that is executed after a certain event (in statemachine-mechanism)
26
//## TODO: implement: Is used to connect the Action-Id in an XML Statemachine description with a functor in the
27
// StateMachine
28
//## implementation
29
//## @ingroup Interaction
30
class
MITKCORE_EXPORT
StateMachineAction
:
public
itk::LightObject
31
{
32
public
:
33
mitkClassMacroItkParent
(
StateMachineAction
, itk::Object);
34
mitkNewMacro1Param
(
Self
,
const
std::string&);
35
39
std::string GetActionName()
const
;
40
41
protected
:
42
StateMachineAction
(
const
std::string &);
43
~
StateMachineAction
()
override
;
44
45
private
:
49
std::string m_ActionName;
50
};
51
52
}
// namespace mitk
53
54
#endif
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
MitkCoreExports.h
mitkCommon.h
mitk::StateMachineAction
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Definition:
mitkStateMachineAction.h:30
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkStateMachineAction.h
Generated on Mon Dec 23 2024 02:13:21 for Medical Imaging Interaction Toolkit by
1.8.17