Medical Imaging Interaction Toolkit  2026.06.00
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 {
32  class MITKCORE_EXPORT StateMachineAction : public itk::LightObject
33  {
34  public:
36  mitkNewMacro1Param(Self, const std::string&);
37 
42  std::string GetActionName() const;
43 
44  protected:
45  StateMachineAction(const std::string &);
46  ~StateMachineAction() override;
47 
48  private:
52  std::string m_ActionName;
53  };
54 
55 } // namespace mitk
56 
57 #endif
#define MITKCORE_EXPORT
Represents an action that is executed after a certain event in the state machine mechanism.
mitkNewMacro1Param(Self, const std::string &)
~StateMachineAction() override
mitkClassMacroItkParent(StateMachineAction, itk::Object)
std::string GetActionName() const
Return the string identifier of this action.
StateMachineAction(const std::string &)
Find image slices visible on a given plane.