X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FBaseProcessObjects.h;h=1b2c8dbe7fec338ca546678635fb88f3db7d6ae9;hb=8e5fd31fd4d280781d8bc27a799361bf9c30b1d4;hp=8ebd4e4ed9c87c2ddfd0976c984c69a3c00cd6ac;hpb=a1bcde78beafb5de52201154b3ffb999e64492ca;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/BaseProcessObjects.h b/lib/cpPlugins/Interface/BaseProcessObjects.h index 8ebd4e4..1b2c8db 100644 --- a/lib/cpPlugins/Interface/BaseProcessObjects.h +++ b/lib/cpPlugins/Interface/BaseProcessObjects.h @@ -5,32 +5,29 @@ #include // ------------------------------------------------------------------------- -#define cpPlugins_Define_ProcessObject( O, S ) \ - class cpPlugins_Interface_EXPORT O \ - : public S \ - { \ - public: \ - typedef O Self; \ - typedef S Superclass; \ - typedef itk::SmartPointer< Self > Pointer; \ - typedef itk::SmartPointer< const Self > ConstPointer; \ - public: \ - itkTypeMacro( O, S ); \ - protected: \ - O( ); \ - virtual ~O( ); \ - private: \ - O( const Self& ); \ - Self& operator=( const Self& ); \ +#define cpPlugins_Define_ProcessObject( O, S ) \ + class cpPlugins_Interface_EXPORT O \ + : public S \ + { \ + public: \ + typedef O Self; \ + typedef S Superclass; \ + typedef itk::SmartPointer< Self > Pointer; \ + typedef itk::SmartPointer< const Self > ConstPointer; \ + public: \ + itkTypeMacro( O, S ); \ + cpPlugins_Id_Macro( cpPlugins::Interface::O, "ProcessObject" ); \ + protected: \ + O( ); \ + virtual ~O( ); \ + private: \ + O( const Self& ); \ + Self& operator=( const Self& ); \ } // ------------------------------------------------------------------------- #define cpPlugins_Code_ProcessObject( O ) \ - cpPlugins::Interface::O::O( ) : Superclass( ) \ - { \ - this->m_ClassName = "cpPlugins::Interface::#O"; \ - this->m_ClassCategory = "#O"; \ - } \ + cpPlugins::Interface::O::O( ) : Superclass( ) { } \ cpPlugins::Interface::O::~O( ) { } // -------------------------------------------------------------------------