OpenASIP  2.0
Static Public Member Functions | List of all members
SetFUConflictDetection Class Reference
Collaboration diagram for SetFUConflictDetection:
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 FU resource conflict detection.

Definition at line 204 of file SettingCommand.cc.

Member Function Documentation

◆ defaultValue()

static const DataObject& SetFUConflictDetection::defaultValue ( )
inlinestatic

Returns the default value of this setting.

Returns
The default value.

Definition at line 225 of file SettingCommand.cc.

225  {
226  static const DataObject defaultValue_("1");
227  return defaultValue_;
228  }

◆ execute()

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

Sets the FU resource conflict detection.

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

Definition at line 214 of file SettingCommand.cc.

215  {
216  simFront.setFUResourceConflictDetection(newValue);
217  return true;
218  }

References SimulatorFrontend::setFUResourceConflictDetection().

Here is the call graph for this function:

◆ warnOnExistingProgramAndMachine()

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

235  {
236  return false;
237  }

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