66 sched.
instruct ({activity, when, dead});
72 CHECK (isSameObject (*head, activity));
98 CHECK (isSameObject (*sched.
pullHead(), wee));
100 CHECK (sched.empty());
122 CHECK (isSameObject (*sched.
peekHead(), a2));
126 CHECK (isSameObject (*sched.
peekHead(), a2));
129 CHECK (isSameObject (*sched.
pullHead(), a1));
130 CHECK (isSameObject (*sched.
pullHead(), a2));
131 CHECK (isSameObject (*sched.
pullHead(), a3));
132 CHECK (isSameObject (*sched.
pullHead(), a4));
153 CHECK (isSameObject (*sched.
pullHead(), a4));
154 CHECK (isSameObject (*sched.
pullHead(), a3));
155 CHECK (isSameObject (*sched.
pullHead(), a1));
156 CHECK (isSameObject (*sched.
pullHead(), a2));
172 CHECK (isSameObject (*sched.
peekHead(), a1));
274 CHECK (sched.empty());
Record to describe an Activity, to happen within the Scheduler's control flow.
Lumiera's internal time value datatype.
void instruct(ActivationEvent actEvent)
Accept an ActivationEvent with an Activity for time-bound execution.
void activate(ManifestationID manID)
Enable entries marked with a specific ManifestationID to be processed.
Abstract Base Class for all testcases.
Layer-1 of the Scheduler: queueing and prioritisation of activities.
bool isOutdated(Time now) const
determine if Activity at scheduler is outdated and should be discarded
Marker for current (and obsolete) manifestations of a CalcStream processed by the Render-Engine...
Simplistic test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
ActivationEvent peekHead()
bool isMissed(Time now) const
determine if the Activity at scheduler head missed it's deadline.
void verify_Significance()
ExampleStrategy::Qualifier two(string additionalArg)
definition of another qualifier two(arg), accepting an additional argument
static const Time NEVER
border condition marker value. NEVER >= any time value
bool isOutOfTime(Time now) const
detect a compulsory Activity at scheduler head with missed deadline
ExampleStrategy::Qualifier one()
definition of a qualifier one()
ActivationEvent pullHead()
Retrieve from the scheduling queue the entry with earliest start time.
void feedPrioritisation()
Pick up all new events from the entrance queue and enqueue them to be retrieved ordered by start time...
Vault-Layer implementation namespace root.
bool isDue(Time now) const
Determine if there is work to do right now.
Scheduler Layer-1 : time based dispatch.
bool isSameObject(A const &a, B const &b)
compare plain object identity, based directly on the referee's memory identities. ...