X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fsrc%2FbbtkUserBlackBoxInputDescriptor.h;h=2132e94ad804a6c30150c070eafb328b8c83142b;hb=7eba604321498f7ed6333b7cbe9bf2aceb4ec30e;hp=a5cce852099dff7f1abc069a757e153275019ace;hpb=4925f2a1f40f97ab30cec57dd1edbd95b7a0e29c;p=bbtk.git diff --git a/kernel/src/bbtkUserBlackBoxInputDescriptor.h b/kernel/src/bbtkUserBlackBoxInputDescriptor.h index a5cce85..2132e94 100644 --- a/kernel/src/bbtkUserBlackBoxInputDescriptor.h +++ b/kernel/src/bbtkUserBlackBoxInputDescriptor.h @@ -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