X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FSourceObject.h;h=034d788cdaf7481bcfde98c441667ce8c8932bc4;hb=2361f4f97631e09d88d8a5510a369817dcaa19db;hp=22914b9904bbe7237d13c4aaa67f409608e11611;hpb=c29448936abc15d110205b2da435035131398a87;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/SourceObject.h b/lib/cpPlugins/Interface/SourceObject.h index 22914b9..034d788 100644 --- a/lib/cpPlugins/Interface/SourceObject.h +++ b/lib/cpPlugins/Interface/SourceObject.h @@ -1,7 +1,7 @@ #ifndef __CPPLUGINS__INTERFACE__SOURCEOBJECT__H__ #define __CPPLUGINS__INTERFACE__SOURCEOBJECT__H__ -#include +#include #include namespace cpPlugins @@ -10,21 +10,26 @@ namespace cpPlugins { /** */ - class cpPlugins_Interface_EXPORT SourceObject + class cpPlugins_EXPORT SourceObject : public ProcessObject { public: - typedef SourceObject Self; - typedef ProcessObject Superclass; - - typedef Superclass::TParameter TParameter; - typedef Superclass::TParameters TParameters; + typedef SourceObject Self; + typedef ProcessObject Superclass; + typedef itk::SmartPointer< Self > Pointer; + typedef itk::SmartPointer< const Self > ConstPointer; public: + itkTypeMacro( SourceObject, ProcessObject ); + + protected: SourceObject( ); virtual ~SourceObject( ); - virtual std::string GetClassName( ) const; + private: + // Purposely not implemented + SourceObject( const Self& ); + Self& operator=( const Self& ); }; } // ecapseman