OpenASIP  2.0
Static Public Member Functions | List of all members
CompiledSimSetFUConflictDetection Class Reference
Collaboration diagram for CompiledSimSetFUConflictDetection:
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 39 of file CompiledSimSettingCommand.cc.

Member Function Documentation

◆ defaultValue()

static const DataObject& CompiledSimSetFUConflictDetection::defaultValue ( )
inlinestatic

Returns the default value of this setting.

Returns
The default value.

Definition at line 60 of file CompiledSimSettingCommand.cc.

60  {
61  static const DataObject defaultValue_("0");
62  return defaultValue_;
63  }

◆ execute()

static bool CompiledSimSetFUConflictDetection::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 49 of file CompiledSimSettingCommand.cc.

50  {
51  simFront.setFUResourceConflictDetection(newValue);
52  return true;
53  }

References SimulatorFrontend::setFUResourceConflictDetection().

Here is the call graph for this function:

◆ warnOnExistingProgramAndMachine()

static bool CompiledSimSetFUConflictDetection::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 70 of file CompiledSimSettingCommand.cc.

70  {
71  return false;
72  }

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