OpenASIP  2.0
Static Public Member Functions | List of all members
SetUtilizationSaving Class Reference
Collaboration diagram for SetUtilizationSaving:
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 utilization data saving.

Definition at line 401 of file SettingCommand.cc.

Member Function Documentation

◆ defaultValue()

static const DataObject& SetUtilizationSaving::defaultValue ( )
inlinestatic

Returns the default value of this setting.

Returns
The default value.

Definition at line 423 of file SettingCommand.cc.

423  {
424  static const DataObject defaultValue_("0");
425  return defaultValue_;
426  }

◆ execute()

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

Sets the utilization data saving.

Parameters
simFrontSimulatorFrontend to set the utilization data saving for.
newValueValue to set.
Returns
True if setting was successful.

Definition at line 412 of file SettingCommand.cc.

413  {
414  simFront.setUtilizationDataSaving(newValue);
415  return true;
416  }

References SimulatorFrontend::setUtilizationDataSaving().

Here is the call graph for this function:

◆ warnOnExistingProgramAndMachine()

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

433  {
434  return false;
435  }

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