]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Pipeline/Functor.h
...
[cpPlugins.git] / lib / cpPlugins / Pipeline / Functor.h
diff --git a/lib/cpPlugins/Pipeline/Functor.h b/lib/cpPlugins/Pipeline/Functor.h
new file mode 100644 (file)
index 0000000..bac4523
--- /dev/null
@@ -0,0 +1,42 @@
+#ifndef __cpPlugins__Pipeline__Functor__h__
+#define __cpPlugins__Pipeline__Functor__h__
+
+#include <cpPlugins/Pipeline/ProcessObject.h>
+
+// -------------------------------------------------------------------------
+namespace cpPlugins
+{
+  namespace Pipeline
+  {
+    /**
+     */
+    class cpPlugins_EXPORT Functor
+      : public ProcessObject
+    {
+    public:
+      typedef Functor                         Self;
+      typedef ProcessObject                   Superclass;
+      typedef itk::SmartPointer< Self >       Pointer;
+      typedef itk::SmartPointer< const Self > ConstPointer;
+
+    public:
+      itkTypeMacro( Functor, ProcessObject );
+      cpPlugins_Id_Macro( Functor, Object );
+
+    protected:
+      Functor( );
+      virtual ~Functor( );
+
+    private:
+      // Purposely not implemented
+      Functor( const Self& );
+      Self& operator=( const Self& );
+    };
+
+  } // ecapseman
+
+} // ecapseman
+
+#endif // __cpPlugins__Pipeline__Functor__h__
+
+// eof - $RCSfile$