Program: bbtk
Module: $RCSfile: bbtkWxConsole.h,v $
Language: C++
- Date: $Date: 2008/03/03 10:48:48 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2008/03/07 08:40:14 $
+ Version: $Revision: 1.6 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
WxConsole( wxWindow *parent, wxString title, wxSize size);
~WxConsole();
- static WxConsole* GetInstance() { return mInstance; }
+ // static WxConsole* GetInstance() { return mInstance; }
+
+ /// Returns the Interpreter used
+ /// ONLY ONE FOR THE MOMENT BUT IN THE FUTURE CAN BE DIFFERENT
+ /// (DIFFERENT WORKSPACES)
+ Interpreter* GetInterpreter() { return mInterpreter; }
+ /// Returns the Interpreter used (const)
+ const Interpreter* GetInterpreter() const { return mInterpreter; }
/// Sets the inputs of the workspace :
/// the map is passed as is to the Executer
/// which creates but does not execute pipelines.
void SetNoExecMode(bool b) { mInterpreter->SetNoExecMode(b); }
- void SetDialogMode(Interpreter::DialogModeType t) { mInterpreter->SetDialogMode(t); }
+ void SetDialogMode(Interpreter::DialogModeType t)
+ { mInterpreter->SetDialogMode(t); }
/// Runs the interpretation of a file
void InterpretFile( const std::string& filename)