]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkUserBlackBoxInputDescriptor.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkUserBlackBoxInputDescriptor.h
index a5cce852099dff7f1abc069a757e153275019ace..2132e94ad804a6c30150c070eafb328b8c83142b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkUserBlackBoxInputDescriptor.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,7 +36,8 @@ namespace bbtk
 {
 
 
-  class BBTK_EXPORT UserBlackBoxInputDescriptor : public bbtk::BlackBoxInputDescriptor
+  class BBTK_EXPORT UserBlackBoxInputDescriptor : 
+    public bbtk::BlackBoxInputDescriptor
   {
   public:
     //typedef enum {
@@ -45,7 +46,8 @@ namespace bbtk
     //} InputType;
 
       
-    UserBlackBoxInputDescriptor( const std::string& name,
+    UserBlackBoxInputDescriptor( TypeInfo creator_type_info,
+                                const std::string& name,
                                 const std::string& description,
                                 UserBlackBoxGetFunctor* getfunctor,
                                 UserBlackBoxSetFunctor* setfunctor,
@@ -68,7 +70,8 @@ namespace bbtk
     
   private:
     /// Default ctor is private 
-    UserBlackBoxInputDescriptor() : BlackBoxInputDescriptor("","") {}
+    UserBlackBoxInputDescriptor() : 
+      BlackBoxInputDescriptor(typeid(void),"","") {}
     /// The functor on the Get method
     UserBlackBoxGetFunctor* mGetFunctor;
     /// The functor on the Set method