OpenASIP
2.0
|
#include <ConditionCommand.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 "condition" command of the Simulator Control Language.
Definition at line 47 of file ConditionCommand.hh.
ConditionCommand::ConditionCommand | ( | ) |
Constructor.
Sets the name of the command to the base class.
Definition at line 52 of file ConditionCommand.cc.
|
virtual |
|
virtual |
Executes the "condition" command.
Modifies conditions of breakpoints.
arguments | The handle of the breakpoint of which condition to modify. |
NumberFormatException | Is never thrown by this command. |
Implements CustomCommand.
Definition at line 75 of file ConditionCommand.cc.
References SimControlLanguageCommand::askConditionFromUser(), assert, CustomCommand::checkArgumentCount(), CustomCommand::checkIntegerArgument(), SimControlLanguageCommand::checkSimulationInitialized(), SimControlLanguageCommand::checkSimulationStopped(), CustomCommand::interpreter(), SimControlLanguageCommand::printBreakpointInfo(), StopPointManager::removeCondition(), TclConditionScript::script(), StopPointManager::setCondition(), ScriptInterpreter::setError(), SimControlLanguageCommand::simulatorFrontend(), SimulatorFrontend::stopPointManager(), StopPointManager::stopPointWithHandleConst(), SimulatorToolbox::textGenerator(), and Texts::TXT_BREAKPOINT_NOT_FOUND.
|
virtual |
Returns the help text for this command.
Help text is searched from SimulatorTextGenerator.
Implements CustomCommand.
Definition at line 128 of file ConditionCommand.cc.
References Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), and Texts::TXT_INTERP_HELP_CONDITION.