Public Types | |
enum | Default_DE_Schedulers { CQ_ID = 0, MUTABLE_CQ_ID = 1, RC_ID = 2, PRIORITY_FREE_ID = 3, PRIORITY_ID = 4, SIMPLE_ID = 5 } |
Available scheduler for default-DE target. Given integer values are used as enumeration value that is stored in model description. Therefore, you can delete or add new elements, but you MUST NOT change the given integer values for the elements. More... | |
Public Member Functions | |
DETarget () | |
~DETarget () | |
void | begin () |
int | isMutable () |
Block * | makeNew () const |
int | run () |
void | setStopTime (double pStopTime) |
Protected Member Functions | |
void | setup () |
Protected Attributes | |
FloatState | timeScale |
EnumState | usedScheduler |
int | selfFiringRequested () |
double | nextFiringTime () |
double | mNextFiringTime |
bool | mRefiringRequested |
Available scheduler for default-DE target. Given integer values are used as enumeration value that is stored in model description. Therefore, you can delete or add new elements, but you MUST NOT change the given integer values for the elements.
Enumerator | |
---|---|
CQ_ID |
Calendar queue scheduler |
SIMPLE_ID |
Basic DE scheduler |
DETarget::DETarget | ( | ) |
constructor
DETarget::~DETarget | ( | ) |
destructor
void DETarget::begin | ( | ) |
call the begin method on the galaxy
int DETarget::isMutable | ( | ) |
Return TRUE if the MutableCalendarQueue is being used
Block * DETarget::makeNew | ( | ) | const |
return a new copy
int DETarget::run | ( | ) |
Overloads Target::run(). Handles refiring requests from inside a wormhole.
int DETarget::selfFiringRequested | ( | ) |
Multi-domain support Return whether (and when) this target requires am refiring from an outer domain.
void DETarget::setStopTime | ( | double | pStopTime | ) |
Set the stopping condition for an simulation run. Overloaded to support infinite runlength.
pStopTime | End condition for an simulation run, if set to <0.0, simulation will be infinite. |
|
protected |
Multi-Domain support Stores the time of the next internal event. This information is needed if the DE target runs inside another timed domain.
|
protected |
Flag to signal whether the target has unconsumed events and has to be reinvoked by an outer domain
|
protected |
relative time scale for interface with another timed domain.
|
protected |
Specifies the scheduler to be used for simulation.