X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkTranscriptor.h;h=35d02e05e20b938ddce7b940d00bf7478af2d68d;hb=cb74ad8d12e03d219df87c69f6caef29afee4cfc;hp=738850578b954481fdaa7740c39694ee0e1d0368;hpb=05e7ead34117d7cd9946e02dfc6a4f1079630f4f;p=bbtk.git diff --git a/kernel/src/bbtkTranscriptor.h b/kernel/src/bbtkTranscriptor.h index 7388505..35d02e0 100644 --- a/kernel/src/bbtkTranscriptor.h +++ b/kernel/src/bbtkTranscriptor.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkTranscriptor.h,v $ $ Language: C++ - Date: $Date: 2008/03/26 14:47:36 $ - Version: $Revision: 1.8 $ + Date: $Date: 2008/04/18 12:59:16 $ + Version: $Revision: 1.10 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -37,14 +37,11 @@ namespace bbtk class /*BBTK_EXPORT*/ Transcriptor : public VirtualExec { - + BBTK_OBJECT_INTERFACE(Transcriptor); + typedef VirtualExec Superclass; public: + static Pointer New(const std::string& filename); - /// Constructor - Transcriptor(std::string filename); - - /// Destructor - ~Transcriptor( ); /// Sets the inputs of the workspace : void SetInputs(const std::map& m) { mInputs = m; } @@ -91,6 +88,9 @@ namespace bbtk /// End the definition of a ComplexBlackBox void EndDefine (); + /// Sets the kind of the currently defined ComplexBlackBox + void Kind(const std::string& kind); + /// Creates a new black box in current complex box void Create ( const std::string& boxType, const std::string& boxName); @@ -175,6 +175,8 @@ namespace bbtk protected: private: + /// Constructor + Transcriptor(const std::string& filename); /// The input values of the Root ComplexBlackBox std::map mInputs;