OpenASIP  2.0
Static Public Member Functions | List of all members
SetBusTrace Class Reference
Collaboration diagram for SetBusTrace:
Collaboration graph

Static Public Member Functions

static bool execute (SimulatorInterpreter &, SimulatorFrontend &simFront, bool newValue)
 
static const DataObjectdefaultValue ()
 
static bool warnOnExistingProgramAndMachine ()
 

Detailed Description

Setting action that sets the execution trace of simulation.

Definition at line 87 of file SettingCommand.cc.

Member Function Documentation

◆ defaultValue()

static const DataObject& SetBusTrace::defaultValue ( )
inlinestatic

Returns the default value of this setting.

Returns
The default value.

Definition at line 108 of file SettingCommand.cc.

108  {
109  static const DataObject defaultValue_("0");
110  return defaultValue_;
111  }

◆ execute()

static bool SetBusTrace::execute ( SimulatorInterpreter ,
SimulatorFrontend simFront,
bool  newValue 
)
inlinestatic

Sets the execution trace of the simulation.

Parameters
simFrontSimulatorFrontend to set the bus trace for.
newValueValue to set.
Returns
True if setting was successful.

Definition at line 97 of file SettingCommand.cc.

98  {
99  simFront.setBusTracing(newValue);
100  return true;
101  }

References SimulatorFrontend::setBusTracing().

Here is the call graph for this function:

◆ warnOnExistingProgramAndMachine()

static bool SetBusTrace::warnOnExistingProgramAndMachine ( )
inlinestatic

Should the action warn if program & machine exist and value was changed

Returns
boolean value on whether or not to warn

Definition at line 118 of file SettingCommand.cc.

118  {
119  return true;
120  }

The documentation for this class was generated from the following file:
DataObject
Definition: DataObject.hh:50
SimulatorFrontend::setBusTracing
void setBusTracing(bool value)
Definition: SimulatorFrontend.cc:1910