X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FSourceObject.h;h=ecb528ccbba61b8fd8e1dca28c09e4f75b69ed82;hb=05b92946cf3e01d93bdf5f317df943baaac9ebda;hp=22914b9904bbe7237d13c4aaa67f409608e11611;hpb=c29448936abc15d110205b2da435035131398a87;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/SourceObject.h b/lib/cpPlugins/Interface/SourceObject.h index 22914b9..ecb528c 100644 --- a/lib/cpPlugins/Interface/SourceObject.h +++ b/lib/cpPlugins/Interface/SourceObject.h @@ -14,17 +14,26 @@ namespace cpPlugins : public ProcessObject { public: - typedef SourceObject Self; - typedef ProcessObject Superclass; + typedef SourceObject Self; + typedef ProcessObject Superclass; + typedef itk::SmartPointer< Self > Pointer; + typedef itk::SmartPointer< const Self > ConstPointer; - typedef Superclass::TParameter TParameter; - typedef Superclass::TParameters TParameters; + public: + itkTypeMacro( SourceObject, ProcessObject ); public: + virtual std::string GetClassName( ) const; + virtual std::string GetClassType( ) const; + + protected: SourceObject( ); virtual ~SourceObject( ); - virtual std::string GetClassName( ) const; + private: + // Purposely not implemented + SourceObject( const Self& ); + Self& operator=( const Self& ); }; } // ecapseman