]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkUserBlackBoxOutputDescriptor.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkUserBlackBoxOutputDescriptor.h
index 794587c4a7534e03f8669d06e8e896f2218a1435..5dae5219707e320896410f5be60f8916e5665c48 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkUserBlackBoxOutputDescriptor.h,v $
   Language:  C++
-  Date:      $Date: 2008/01/22 15:02:00 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/02/06 14:14:22 $
+  Version:   $Revision: 1.2 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -36,11 +36,13 @@ namespace bbtk
 {
 
 
-  class BBTK_EXPORT UserBlackBoxOutputDescriptor : public bbtk::BlackBoxOutputDescriptor
+  class BBTK_EXPORT UserBlackBoxOutputDescriptor : 
+    public bbtk::BlackBoxOutputDescriptor
   {
   public:
       
-    UserBlackBoxOutputDescriptor( const std::string& name,
+    UserBlackBoxOutputDescriptor( TypeInfo creator_type_info,
+                                 const std::string& name,
                                  const std::string& description,
                                  UserBlackBoxGetFunctor* getfunctor,
                                  UserBlackBoxSetFunctor* setfunctor,
@@ -62,7 +64,8 @@ namespace bbtk
     
   private:
     /// Default ctor is private 
-    UserBlackBoxOutputDescriptor() : BlackBoxOutputDescriptor("","") {}
+    UserBlackBoxOutputDescriptor() : 
+      BlackBoxOutputDescriptor(typeid(void),"","") {}
     /// The functor on the Get method
     UserBlackBoxGetFunctor* mGetFunctor;
     /// The functor on the Set method