]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/SinkObject.h
3D MPR updated
[cpPlugins.git] / lib / cpPlugins / Interface / SinkObject.h
index 7caf70ea38218921bfdef94fe0344d9120a1f385..4edc44c813cf465cf1248ae03adc89426d1e6bf3 100644 (file)
@@ -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