Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6  Division of Medical and Biological Informatics.
7  All rights reserved.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without
10  even the implied warranty of MERCHANTABILITY or FITNESS FOR
11  A PARTICULAR PURPOSE.
12 
13  See LICENSE.txt or http://www.mitk.org for details.
14 
15  ===================================================================*/
16 
17 #ifndef SMACTION_H_HEADER_INCLUDED_C19AE06B
18 #define SMACTION_H_HEADER_INCLUDED_C19AE06B
19 
20 #include "MitkCoreExports.h"
21 #include "mitkCommon.h"
22 #include <itkLightObject.h>
23 #include <itkObjectFactory.h>
24 #include <string>
25 
26 namespace mitk
27 {
28  //##Documentation
29  //## @brief Represents an action, that is executed after a certain event (in statemachine-mechanism)
30  //## TODO: implement: Is used to connect the Action-Id in an XML Statemachine description with a functor in the
31  // StateMachine
32  //## implementation
33  //## @ingroup Interaction
34  class MITKCORE_EXPORT StateMachineAction : public itk::LightObject
35  {
36  public:
41  std::string GetActionName() const;
42 
43  protected:
44  StateMachineAction(const std::string &);
46 
47  private:
51  std::string m_ActionName;
52  };
53 
54 } // namespace mitk
55 
56 #endif /* SMACTION_H_HEADER_INCLUDED_C19AE06B */
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:53