OpenASIP
2.0
|
#include <SimControlLanguageCommand.hh>
Public Member Functions | |
SimControlLanguageSubCommand (SimControlLanguageCommand &parentCommand) | |
virtual | ~SimControlLanguageSubCommand () |
virtual bool | execute (const std::vector< DataObject > &arguments)=0 |
virtual SimControlLanguageCommand & | parent () |
Private Attributes | |
SimControlLanguageCommand & | parentCommand_ |
the main command More... | |
Base class for classes that implement subcommands of Simulator Control Language.
Definition at line 122 of file SimControlLanguageCommand.hh.
SimControlLanguageSubCommand::SimControlLanguageSubCommand | ( | SimControlLanguageCommand & | parentCommand | ) |
Constructor.
parentCommand | The main command this is a subcommand for. |
minArgs | The minimum count of arguments this command should receive. |
maxArgs | The maximum count of arguments this command should receive. |
Definition at line 824 of file SimControlLanguageCommand.cc.
|
virtual |
|
pure virtual |
|
virtual |
Returns the parent command.
Definition at line 842 of file SimControlLanguageCommand.cc.
References parentCommand_.
Referenced by InfoRegistersCommand::execute(), InfoImmediatesCommand::execute(), InfoRegFilesCommand::execute(), InfoIunitsCommand::execute(), InfoBussesCommand::execute(), InfoPortsCommand::execute(), InfoSegmentsCommand::execute(), InfoFunitsCommand::execute(), InfoProcCommand::execute(), InfoStatsCommand::execute(), InfoProgramCommand::execute(), and InfoBreakpointsCommand::execute().
|
private |
the main command
Definition at line 130 of file SimControlLanguageCommand.hh.
Referenced by parent().