OpenASIP
2.0
|
Public Member Functions | |
InfoProgramCommand (SimControlLanguageCommand &parentCommand) | |
virtual | ~InfoProgramCommand () |
virtual bool | execute (const std::vector< DataObject > &arguments) |
Public Member Functions inherited from SimControlLanguageSubCommand | |
SimControlLanguageSubCommand (SimControlLanguageCommand &parentCommand) | |
virtual | ~SimControlLanguageSubCommand () |
virtual SimControlLanguageCommand & | parent () |
Implementation of "info program".
Definition at line 1236 of file InfoCommand.cc.
|
inline |
Constructor.
Definition at line 1241 of file InfoCommand.cc.
|
inlinevirtual |
|
inlinevirtual |
Executes the "info program" command.
Displays information about the status of the program: whether it is loaded or running, why it stopped.
arguments | Arguments to the command, including the command. |
Implements SimControlLanguageSubCommand.
Definition at line 1260 of file InfoCommand.cc.
References abortWithError, CustomCommand::interpreter(), SimControlLanguageCommand::outputStream(), SimControlLanguageSubCommand::parent(), SimControlLanguageCommand::printStopReasons(), program, SimulatorFrontend::programCounter(), ScriptInterpreter::setError(), ScriptInterpreter::setResult(), SimControlLanguageCommand::simulatorFrontend(), StringTools::stringToLower(), Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), Texts::TXT_STATUS_FINISHED, Texts::TXT_STATUS_INITIALIZED, Texts::TXT_STATUS_NOT_INITIALIZED, Texts::TXT_STATUS_STOPPED, and Texts::TXT_UNKNOWN_SUBCOMMAND.