X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkConnection.h;h=b75cb20db5b6d702b7842fce5fea430327714daf;hb=355e3d011880c7febb568fd7a3c51b180cd23707;hp=4a7996844034dea487967bf1664fa49849fc9b6d;hpb=3fb0c5f4f00f86519c93413ab2386c47c5224345;p=bbtk.git diff --git a/kernel/src/bbtkConnection.h b/kernel/src/bbtkConnection.h index 4a79968..b75cb20 100644 --- a/kernel/src/bbtkConnection.h +++ b/kernel/src/bbtkConnection.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkConnection.h,v $ Language: C++ - Date: $Date: 2008/02/20 16:05:38 $ - Version: $Revision: 1.2 $ + Date: $Date: 2008/03/07 10:21:30 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See doc/license.txt or @@ -29,10 +29,14 @@ #define __bbtkConnection_h__ #include "bbtkSystem.h" + #include namespace bbtk { + + class Factory; + /// typedef int IOStatus; /// @@ -51,7 +55,8 @@ namespace bbtk public: /// Ctor Connection(BlackBox* from, const std::string& output, - BlackBox* to, const std::string& input ); + BlackBox* to, const std::string& input, + const Factory* f ); /// Dtor ~Connection(); @@ -93,6 +98,9 @@ namespace bbtk /// Adaptor black box if needed BlackBox* mAdaptor; + /// The factory used to create adaptors + const Factory* mFactory; + /// Is the connection input type is any ? bool mFromAny;