Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef ACTION_H_HEADER_INCLUDED_C19AE06B
00020 #define ACTION_H_HEADER_INCLUDED_C19AE06B
00021
00022 #include "mitkCommon.h"
00023 #include "mitkPropertyList.h"
00024 #include <itkObject.h>
00025 #include <itkObjectFactory.h>
00026
00027
00028 namespace mitk {
00029
00030
00031
00032
00033 class MITK_CORE_EXPORT Action : public itk::Object
00034 {
00035 public:
00036 mitkClassMacro(Action, itk::Object);
00037
00041 mitkNewMacro1Param(Self, int);
00042
00046 void AddProperty(const char* propertyKey, BaseProperty* property);
00047
00051 int GetActionId() const;
00052
00056 mitk::BaseProperty* GetProperty( const char *propertyKey ) const;
00057
00058 protected:
00063 Action( int actionId );
00064
00068 ~Action();
00069 private:
00073 int m_ActionId;
00074
00078 PropertyList::Pointer m_PropertiesList;
00079 };
00080
00081 }
00082
00083 #endif