OpenASIP  2.0
Static Public Member Functions | List of all members
SetSimulationTimeStatistics Class Reference
Collaboration diagram for SetSimulationTimeStatistics:
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 simulation time statistics.

Definition at line 284 of file SettingCommand.cc.

Member Function Documentation

◆ defaultValue()

static const DataObject& SetSimulationTimeStatistics::defaultValue ( )
inlinestatic

Returns the default value of this setting.

Returns
The default value.

Definition at line 303 of file SettingCommand.cc.

303  {
304  static const DataObject defaultValue_("0");
305  return defaultValue_;
306  }

◆ execute()

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

Sets the time statistics.

Parameters
simFrontSimulatorFrontend to set the time statistics for.
newValueValue to setting
Returns
True if setting was successful.

Definition at line 292 of file SettingCommand.cc.

293  {
294  simFront.setSimulationTimeStatistics(newValue);
295  return true;
296  }

References SimulatorFrontend::setSimulationTimeStatistics().

Here is the call graph for this function:

◆ warnOnExistingProgramAndMachine()

static bool SetSimulationTimeStatistics::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 313 of file SettingCommand.cc.

313  {
314  return false;
315  }

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