00001
00002
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00022
00028 #ifndef _exotkAF_Command_HeaderFile
00029 #define _exotkAF_Command_HeaderFile
00030
00031 #if _MSC_VER > 1000
00032 #pragma once
00033 #endif // _MSC_VER > 1000
00034
00035 #ifndef _MMgt_TShared_HeaderFile
00036 #include <MMgt_TShared.hxx>
00037 #endif
00038
00039 #ifndef _Handle_exotkAF_Command_HeaderFile
00040 #include <Handle_exotkAF_Command.hxx>
00041 #endif
00042
00048 class exotkAF_Command : public MMgt_TShared
00049 {
00050 public:
00051
00059 inline void* operator new(size_t,void* anAddress)
00060 {
00061 return anAddress;
00062 }
00063
00070 inline void* operator new(size_t size)
00071 {
00072 return Standard::Allocate(size);
00073 }
00074
00081 inline void operator delete(void *anAddress)
00082 {
00083 if (anAddress) Standard::Free((Standard_Address&)anAddress);
00084 }
00085
00090 Standard_EXPORT virtual ~exotkAF_Command();
00091
00092
00098 Standard_EXPORT virtual Standard_Boolean Execute() = 0;
00099
00105 Standard_EXPORT virtual Standard_Boolean UnExecute() = 0;
00106
00112 Standard_EXPORT friend Handle_Standard_Type& exotkAF_Command_Type_();
00113
00119 Standard_EXPORT const Handle_Standard_Type& DynamicType() const;
00120
00127 Standard_EXPORT Standard_Boolean IsKind(const Handle_Standard_Type&) const;
00128 protected:
00129
00134 Standard_EXPORT exotkAF_Command();
00135 };
00136
00137 #endif