OpenASIP
2.0
|
#include <KillCommand.hh>
Additional Inherited Members | |
Protected Member Functions inherited from SimControlLanguageCommand | |
bool | setMemoryAddress (const std::string &addressString, std::string &addressSpaceName, std::size_t &memoryAddress) |
bool | setMemoryPointer (MemorySystem::MemoryPtr &memory, const std::string &addressSpaceName) |
Implementation of the "kill" command of the Simulator Control Language.
Definition at line 46 of file KillCommand.hh.
KillCommand::KillCommand | ( | ) |
Constructor.
Sets the name of the command to the base class.
Definition at line 47 of file KillCommand.cc.
|
virtual |
|
virtual |
Executes the "kill" command.
Terminate the simulation. The program being simulated remains loaded and the simulation can be restarted from the beginning by means of command run. The Simulator will normally prompt the user for comfirmation before terminating the simulation.
arguments | No arguments needed. |
NumberFormatException | Is never thrown by this command. |
Implements CustomCommand.
Definition at line 73 of file KillCommand.cc.
References CustomCommand::checkArgumentCount(), SimControlLanguageCommand::checkSimulationEnded(), SimControlLanguageCommand::checkSimulationStopped(), CustomCommand::interpreter(), SimulatorFrontend::killSimulation(), SimControlLanguageCommand::simulatorFrontend(), SimulatorToolbox::textGenerator(), and Texts::TXT_CONFIRM_KILL_SIMULATION.
|
virtual |
Returns the help text for this command.
Help text is searched from SimulatorTextGenerator.
Implements CustomCommand.
Definition at line 104 of file KillCommand.cc.
References Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), and Texts::TXT_INTERP_HELP_KILL.