OpenASIP
2.0
|
#include <TestOsal.hh>
Public Member Functions | |
CmdAdvanceClock () | |
CmdAdvanceClock (const CmdAdvanceClock &cmd) | |
virtual | ~CmdAdvanceClock () |
virtual bool | execute (const std::vector< DataObject > &arguments) |
virtual std::string | helpText () const |
Public Member Functions inherited from CustomCommand | |
CustomCommand (std::string name) | |
CustomCommand (const CustomCommand &cmd) | |
virtual | ~CustomCommand () |
std::string | name () const |
void | setContext (InterpreterContext *context) |
InterpreterContext * | context () const |
void | setInterpreter (ScriptInterpreter *si) |
ScriptInterpreter * | interpreter () const |
bool | checkArgumentCount (int argumentCount, int minimum, int maximum) |
bool | checkIntegerArgument (const DataObject &argument) |
bool | checkPositiveIntegerArgument (const DataObject &argument) |
bool | checkUnsignedIntegerArgument (const DataObject &argument) |
bool | checkDoubleArgument (const DataObject &argument) |
Advances clock by one cycle.
Definition at line 195 of file TestOsal.hh.
CmdAdvanceClock::CmdAdvanceClock | ( | ) |
|
explicit |
|
virtual |
|
virtual |
Executes the command.
arguments | Arguments for the command. |
NumberFormatException | If DataObject conversion fails. |
Implements CustomCommand.
Definition at line 866 of file TestOsal.cc.
References Memory::advanceClock(), assert, CustomCommand::context(), SimpleScriptInterpreter::context(), CustomCommand::interpreter(), ScriptInterpreter::setResult(), and DataObject::setString().
|
virtual |
Returns the help text of the command.
Implements CustomCommand.
Definition at line 896 of file TestOsal.cc.