Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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:
37  std::string GetActionName() const;
38 
39  protected:
40  StateMachineAction(const std::string &);
41  ~StateMachineAction() override;
42 
43  private:
47  std::string m_ActionName;
48  };
49 
50 } // namespace mitk
51 
52 #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