66 sched.
instruct ({activity, when, dead});
72 CHECK (isSameObject (*head, activity));
96 CHECK (isSameObject (*sched.
pullHead(), one));
97 CHECK (isSameObject (*sched.
pullHead(), two));
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());
Lumiera's internal time value datatype.
static const Time NEVER
border condition marker value. NEVER >= any time value
Abstract Base Class for all testcases.
Record to describe an Activity, to happen within the Scheduler's control flow.
Marker for current (and obsolete) manifestations of a CalcStream processed by the Render-Engine.
Scheduler Layer-1 : time based dispatch.
void drop(ManifestationID manID)
void instruct(ActivationEvent actEvent)
Accept an ActivationEvent with an Activity for time-bound execution.
bool isDue(Time now) const
Determine if there is work to do right now.
bool isOutOfTime(Time now) const
detect a compulsory Activity at scheduler head with missed deadline
bool isMissed(Time now) const
determine if the Activity at scheduler head missed it's deadline.
bool isOutdated(Time now) const
determine if Activity at scheduler is outdated and should be discarded
void activate(ManifestationID manID)
Enable entries marked with a specific ManifestationID to be processed.
void feedPrioritisation()
Pick up all new events from the entrance queue and enqueue them to be retrieved ordered by start time...
ActivationEvent pullHead()
Retrieve from the scheduling queue the entry with earliest start time.
ActivationEvent peekHead()
void verify_Significance()
Test runner and basic definitions for tests.
bool isSameObject(A const &a, B const &b)
compare plain object identity, based directly on the referee's memory identities.
Vault-Layer implementation namespace root.
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Layer-1 of the Scheduler: queueing and prioritisation of activities.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...