Medical Imaging Interaction Toolkit  2018.4.99-c4b6bb11
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 SMACTION_H_HEADER_INCLUDED_C19AE06B
14 #define SMACTION_H_HEADER_INCLUDED_C19AE06B
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:
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 /* SMACTION_H_HEADER_INCLUDED_C19AE06B */
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
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:49