OpenASIP
2.0
|
#include <CompiledSimInterpreter.hh>
Public Member Functions | |
CompiledSimInterpreter (int argc, char *argv[], SimulatorInterpreterContext &context, LineReader &reader) | |
virtual | ~CompiledSimInterpreter () |
Public Member Functions inherited from SimulatorInterpreter | |
SimulatorInterpreter (int argc, char *argv[], SimulatorInterpreterContext &context, LineReader &reader) | |
virtual | ~SimulatorInterpreter () |
bool | isQuitCommandGiven () const |
void | setQuitCommandGiven () |
Public Member Functions inherited from TclInterpreter | |
TclInterpreter () | |
virtual | ~TclInterpreter () |
virtual void | initialize (int argc, char *argv[], InterpreterContext *context, LineReader *reader) |
virtual void | setVariableToInterpreter (const std::string &name, const DataObject &value) |
virtual DataObject | variable (const std::string &name) |
virtual bool | interpret (const std::string &commandLine) |
virtual void | setResultToInterpreter (const DataObject &value) |
virtual bool | processScriptFile (const std::string &scriptFileName) |
virtual InterpreterContext & | context () const |
Public Member Functions inherited from ScriptInterpreter | |
ScriptInterpreter () | |
virtual | ~ScriptInterpreter () |
virtual void | addCustomCommand (CustomCommand *command) |
virtual void | removeCustomCommand (const std::string &commandName) |
virtual CustomCommand * | customCommand (const std::string &commandName) |
virtual void | setResult (DataObject *result) |
virtual void | setResult (const std::string &result) |
virtual void | setResult (int result) |
virtual void | setResult (double result) |
virtual std::string | result () |
virtual void | setError (bool state) |
virtual void | setError (std::string errorMessage) |
virtual bool | error () const |
virtual void | setVariable (const std::string &interpreterVariableName, const std::string &value) |
virtual void | setVariable (const std::string &interpreterVariableName, int value) |
virtual std::string | variableStringValue (const std::string &interpreterVariableName) |
virtual int | variableIntegerValue (const std::string &interpreterVariableName) |
virtual void | finalize () |
virtual void | setLineReader (LineReader *reader) |
virtual LineReader * | lineReader () const |
std::vector< std::string > | customCommandsSortedByName () |
Additional Inherited Members | |
Static Public Member Functions inherited from TclInterpreter | |
static DataObject | tclObjToDataObject (Tcl_Obj *object) |
static Tcl_Obj * | dataObjectToTclObj (const DataObject &object) |
static int | customCommandRedirector (ClientData cd, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
Protected Member Functions inherited from TclInterpreter | |
virtual void | addCustomCommandToInterpreter (const CustomCommand &command) |
virtual void | removeCustomCommandFromInterpreter (const CustomCommand &command) |
SimulatorInterpreter class specific to the compiled simulator
Definition at line 42 of file CompiledSimInterpreter.hh.
CompiledSimInterpreter::CompiledSimInterpreter | ( | int | argc, |
char * | argv[], | ||
SimulatorInterpreterContext & | context, | ||
LineReader & | reader | ||
) |
The constructor
argc | argument count |
argv | argument list |
context | simulator interpreter context |
reader | command line reader |
Definition at line 43 of file CompiledSimInterpreter.cc.
References ScriptInterpreter::addCustomCommand(), and ScriptInterpreter::removeCustomCommand().
|
virtual |