75 sched.
instruct ({activity, when, dead});
81 CHECK (isSameObject (*head, activity));
107 CHECK (isSameObject (*sched.
pullHead(), wee));
109 CHECK (sched.empty());
131 CHECK (isSameObject (*sched.
peekHead(), a2));
135 CHECK (isSameObject (*sched.
peekHead(), a2));
138 CHECK (isSameObject (*sched.
pullHead(), a1));
139 CHECK (isSameObject (*sched.
pullHead(), a2));
140 CHECK (isSameObject (*sched.
pullHead(), a3));
141 CHECK (isSameObject (*sched.
pullHead(), a4));
162 CHECK (isSameObject (*sched.
pullHead(), a4));
163 CHECK (isSameObject (*sched.
pullHead(), a3));
164 CHECK (isSameObject (*sched.
pullHead(), a1));
165 CHECK (isSameObject (*sched.
pullHead(), a2));
181 CHECK (isSameObject (*sched.
peekHead(), a1));
283 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...
Simple 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 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, bypassing any custom comparison operators.