X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkInterpreter.h;h=29708546c557602ff859f96c18050af0c6121a6f;hb=7e61fd339b29c05f7426fe0758955f933e90aed0;hp=2e7ba4df6f2c0462179108c1bcf6e910f3e2d277;hpb=d8041d1ef54a73acc2306557435f6b04edf60daf;p=bbtk.git diff --git a/kernel/src/bbtkInterpreter.h b/kernel/src/bbtkInterpreter.h index 2e7ba4d..2970854 100644 --- a/kernel/src/bbtkInterpreter.h +++ b/kernel/src/bbtkInterpreter.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkInterpreter.h,v $ $ Language: C++ - Date: $Date: 2008/05/06 13:45:12 $ - Version: $Revision: 1.30 $ + Date: $Date: 2008/05/15 08:02:36 $ + Version: $Revision: 1.31 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -90,6 +90,7 @@ namespace bbtk typedef Object Superclass; public: static Pointer New(const std::string& cpp_file = ""); + static Pointer New(VirtualExec::Pointer); typedef enum { @@ -267,6 +268,10 @@ namespace bbtk /// Constructor Interpreter(const std::string& cpp_file = ""); + Interpreter(VirtualExec::Pointer); + + void Init(VirtualExec::Pointer, const std::string& cpp_file); + /// Opens the file fullPathScriptName /// includeScriptName is the name as given to the include command void LoadScript( std::string fullPathScriptName,