]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/SinkObject.h
...
[cpPlugins.git] / lib / cpPlugins / Interface / SinkObject.h
index 7caf70ea38218921bfdef94fe0344d9120a1f385..644f26afc123c3f4704172513e8e352a40a7eebf 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __CPPLUGINS__INTERFACE__SINKOBJECT__H__
 #define __CPPLUGINS__INTERFACE__SINKOBJECT__H__
 
-#include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
+#include <cpPlugins/cpPlugins_Export.h>
 #include <cpPlugins/Interface/ProcessObject.h>
 
 namespace cpPlugins
@@ -10,21 +10,26 @@ namespace cpPlugins
   {
     /**
      */
-    class cpPlugins_Interface_EXPORT SinkObject
+    class cpPlugins_EXPORT SinkObject
       : public ProcessObject
     {
     public:
-      typedef SinkObject    Self;
-      typedef ProcessObject Superclass;
-
-      typedef Superclass::TParameter  TParameter;
-      typedef Superclass::TParameters TParameters;
+      typedef SinkObject                      Self;
+      typedef ProcessObject                   Superclass;
+      typedef itk::SmartPointer< Self >       Pointer;
+      typedef itk::SmartPointer< const Self > ConstPointer;
 
     public:
+      itkTypeMacro( SinkObject, ProcessObject );
+
+    protected:
       SinkObject( );
       virtual ~SinkObject( );
 
-      virtual std::string GetClassName( ) const;
+    private:
+      // Purposely not implemented
+      SinkObject( const Self& );
+      Self& operator=( const Self& );
     };
 
   } // ecapseman