]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/SourceObject.h
New pixel converter
[cpPlugins.git] / lib / cpPlugins / Interface / SourceObject.h
index 22914b9904bbe7237d13c4aaa67f409608e11611..ecb528ccbba61b8fd8e1dca28c09e4f75b69ed82 100644 (file)
@@ -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