]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/SourceObject.h
...
[cpPlugins.git] / lib / cpPlugins / Interface / SourceObject.h
index 22914b9904bbe7237d13c4aaa67f409608e11611..034d788cdaf7481bcfde98c441667ce8c8932bc4 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __CPPLUGINS__INTERFACE__SOURCEOBJECT__H__
 #define __CPPLUGINS__INTERFACE__SOURCEOBJECT__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 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