OpenASIP  2.0
Public Member Functions | Private Attributes | List of all members
SimControlLanguageSubCommand Class Referenceabstract

#include <SimControlLanguageCommand.hh>

Inheritance diagram for SimControlLanguageSubCommand:
Inheritance graph
Collaboration diagram for SimControlLanguageSubCommand:
Collaboration graph

Public Member Functions

 SimControlLanguageSubCommand (SimControlLanguageCommand &parentCommand)
 
virtual ~SimControlLanguageSubCommand ()
 
virtual bool execute (const std::vector< DataObject > &arguments)=0
 
virtual SimControlLanguageCommandparent ()
 

Private Attributes

SimControlLanguageCommandparentCommand_
 the main command More...
 

Detailed Description

Base class for classes that implement subcommands of Simulator Control Language.

Definition at line 122 of file SimControlLanguageCommand.hh.

Constructor & Destructor Documentation

◆ SimControlLanguageSubCommand()

SimControlLanguageSubCommand::SimControlLanguageSubCommand ( SimControlLanguageCommand parentCommand)

Constructor.

Parameters
parentCommandThe main command this is a subcommand for.
minArgsThe minimum count of arguments this command should receive.
maxArgsThe maximum count of arguments this command should receive.

Definition at line 824 of file SimControlLanguageCommand.cc.

825  :
826  parentCommand_(parentCommand) {
827 }

◆ ~SimControlLanguageSubCommand()

SimControlLanguageSubCommand::~SimControlLanguageSubCommand ( )
virtual

Destructor.

Definition at line 833 of file SimControlLanguageCommand.cc.

833  {
834 }

Member Function Documentation

◆ execute()

virtual bool SimControlLanguageSubCommand::execute ( const std::vector< DataObject > &  arguments)
pure virtual

◆ parent()

SimControlLanguageCommand & SimControlLanguageSubCommand::parent ( )
virtual

Member Data Documentation

◆ parentCommand_

SimControlLanguageCommand& SimControlLanguageSubCommand::parentCommand_
private

the main command

Definition at line 130 of file SimControlLanguageCommand.hh.

Referenced by parent().


The documentation for this class was generated from the following files:
SimControlLanguageSubCommand::parentCommand_
SimControlLanguageCommand & parentCommand_
the main command
Definition: SimControlLanguageCommand.hh:130