X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FSinkObject.h;h=4edc44c813cf465cf1248ae03adc89426d1e6bf3;hb=d1641ad5bb3587c30c473e78a6ae060a19d7a60e;hp=7caf70ea38218921bfdef94fe0344d9120a1f385;hpb=c29448936abc15d110205b2da435035131398a87;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/SinkObject.h b/lib/cpPlugins/Interface/SinkObject.h index 7caf70e..4edc44c 100644 --- a/lib/cpPlugins/Interface/SinkObject.h +++ b/lib/cpPlugins/Interface/SinkObject.h @@ -14,17 +14,26 @@ namespace cpPlugins : public ProcessObject { public: - typedef SinkObject Self; - typedef ProcessObject Superclass; + typedef SinkObject 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( SinkObject, ProcessObject ); public: + virtual std::string GetClassName( ) const; + virtual std::string GetClassType( ) const; + + protected: SinkObject( ); virtual ~SinkObject( ); - virtual std::string GetClassName( ) const; + private: + // Purposely not implemented + SinkObject( const Self& ); + Self& operator=( const Self& ); }; } // ecapseman