OpenASIP
2.0
|
#include <SimulatorInterpreterContext.hh>
Public Member Functions | |
SimulatorInterpreterContext (SimulatorFrontend &simFrontend) | |
virtual | ~SimulatorInterpreterContext () |
SimulatorFrontend & | simulatorFrontend () |
Public Member Functions inherited from InterpreterContext | |
InterpreterContext () | |
virtual | ~InterpreterContext () |
Private Attributes | |
SimulatorFrontend & | simulatorFrontend_ |
Interpreter context for Simulator.
Holds the SimulatorFrontend instance the interpreter commands use to access simulator functionality.
Definition at line 45 of file SimulatorInterpreterContext.hh.
SimulatorInterpreterContext::SimulatorInterpreterContext | ( | SimulatorFrontend & | simFrontend | ) |
Constructor.
Initializes the SimulatorFrontend instance.
Definition at line 42 of file SimulatorInterpreterContext.cc.
|
virtual |
SimulatorFrontend & SimulatorInterpreterContext::simulatorFrontend | ( | ) |
Returns the SimulatorFrontend instance contained in the context.
Definition at line 61 of file SimulatorInterpreterContext.cc.
References simulatorFrontend_.
Referenced by ConfCommand::execute(), MachCommand::execute(), ProgCommand::execute(), BackTraceCommand::execute(), DisassembleCommand::execute(), and SimControlLanguageCommand::simulatorFrontend().
|
private |
Definition at line 53 of file SimulatorInterpreterContext.hh.
Referenced by simulatorFrontend().