-
- /// Sets the bool that indicates wether we are in command line context
- void SetCommandLine(bool v = true) { mCommandLine = v; }
-
-#ifdef _USE_WXWIDGETS_
- /// Sets the WxConsole that created the interpreter (if any)
- void SetWxConsole(WxConsole* c) { mWxConsole = c; }
- /// Gets the WxConsole that created the interpreter (if any)
- WxConsole* GetWxConsole() { return mWxConsole; }
- /// Gets the WxConsole that created the interpreter (if any) - const
- const WxConsole* GetWxConsole() const { return mWxConsole; }
-#endif
-
- /// Gets the Executer
- VirtualExec* GetExecuter() { return mExecuter; }
- /// Gets the Executer (const)
- const VirtualExec* GetExecuter() const { return mExecuter; }
-
+*/
+
+ /// Creates and connects the piece of pipeline which defines a GUI
+ /// for the box box.
+ /// Define it as a complex box type with name instanceName+"Type"
+ /// The instance is called instanceName
+ /// and connected to the existing pipeline
+ virtual void commandNewGUI(const std::string& box,const std::string& instanceName);
+ virtual void commandDebug(const std::string& arg);
+ virtual void commandNew(const std::string &boxType,const std::string &boxName);
+ virtual void commandDelete(const std::string &boxName);
+ virtual void commandConnection(const std::string &nodeFrom,const std::string &outputLabel,const std::string &nodeTo,const std::string &inputLabel);
+ virtual void commandPackage(const std::string &packageName);
+ virtual void commandEndPackage();
+ virtual void commandDefine(const std::string &name,const std::string &pack,const std::string &scriptfilename);
+ virtual void commandEndDefine();
+ virtual void commandKind(const std::string &kind);
+ virtual void commandPrint(const std::string &value);
+ virtual void commandExec(const std::string &word);
+ virtual void commandInput(const std::string &name,const std::string &box,const std::string &input,const std::string &help);
+ virtual void commandOutput(const std::string &name,const std::string &box,const std::string &output,const std::string &help);
+ virtual void commandSet(const std::string &box,const std::string &input,const std::string &value);
+ virtual void commandAuthor(const std::string &author);
+ virtual void commandCategory(const std::string &categorytype);
+ virtual void commandDescription(const std::string &description);
+ virtual void commandClear();
+ virtual void commandInclude(const std::string &word, bool ok);
+ virtual void commandLoad(const std::string &packageName);
+ virtual void commandUnload(const std::string &packageName);
+ virtual void commandBreak();
+ virtual void commandQuit();
+ virtual void commandMessage();
+ virtual void commandMessage(const std::string &kind,const std::string &levelstr);
+ virtual void SetCurrentFileName(const std::string &fullPathScriptName);
+ virtual void SetTypeOfScript_Application();
+
+
+
+ /// Constructor
+ Interpreter(const std::string& cpp_file = "");
+ Interpreter(VirtualExec::Pointer);
+