]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkFactory.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkFactory.h
index 3150e6ea3fbdcb0d86376372cb6376ead1e78235..34e435d3082c8e30b12d146686cce34f573bda70 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkFactory.h,v $
   Language:  C++
-  Date:      $Date: 2008/03/28 13:42:17 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2008/04/08 06:59:30 $
+  Version:   $Revision: 1.12 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -46,6 +46,7 @@ namespace bbtk
     Factory();
     ~Factory();
     
+    void GetPackagesList(std::vector<std::string>&);
     void LoadPackage( const std::string& name );
     void UnLoadPackage( const std::string& name );
     void PrintPackages(bool details = true, bool adaptors = false) const;
@@ -62,9 +63,21 @@ namespace bbtk
     BlackBox* NewBlackBox(const std::string& type, 
                           const std::string& name) const;
     
-    BlackBox* NewAdaptor(TypeInfo typein,
-                         TypeInfo typeout,
+    BlackBox* NewAdaptor(const DataInfo& typein,
+                        const DataInfo& typeout,
                          const std::string& name) const;
+
+    BlackBox* NewWidgetAdaptor(const DataInfo& typein,
+                              const DataInfo& typeout,
+                              const std::string& name) const;
+
+    bool FindAdaptor(const DataInfo& typein,
+                    const DataInfo& typeout,
+                    std::string& adaptor) const;
+
+    bool FindWidgetAdaptor(const DataInfo& typein,
+                          const DataInfo& typeout,
+                          std::string& adaptor) const;
     
     Connection* NewConnection(BlackBox* from,
                               const std::string& output,