OpenASIP 2.2
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
SetStaticCompilation Class Reference
Collaboration diagram for SetStaticCompilation:
Collaboration graph

Static Public Member Functions

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

Detailed Description

Setting action that sets the static compilation flag

Definition at line 362 of file SettingCommand.cc.

Member Function Documentation

◆ defaultValue()

static const DataObject & SetStaticCompilation::defaultValue ( )
inlinestatic

Returns the default value of this setting.

Returns
The default value.

Definition at line 383 of file SettingCommand.cc.

383 {
384 static const DataObject defaultValue_("1");
385 return defaultValue_;
386 }

◆ execute()

static bool SetStaticCompilation::execute ( SimulatorInterpreter ,
SimulatorFrontend simFront,
unsigned int  newValue 
)
inlinestatic

Sets the static compilation flag

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

Definition at line 370 of file SettingCommand.cc.

373 {
374 simFront.setStaticCompilation(newValue);
375 return true;
376 }
void setStaticCompilation(bool value)

References SimulatorFrontend::setStaticCompilation().

Here is the call graph for this function:

◆ warnOnExistingProgramAndMachine()

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

393 {
394 return true;
395 }

The documentation for this class was generated from the following file: