|
virtual | ~Test ()=default |
| this is an interface
|
|
lib::Random | makeRandGen () |
| build a dedicated new RandomGen, seeded from the default-Gen
|
|
virtual void | run (Arg arg)=0 |
|
void | seedRand () |
| draw a new random seed from a common nucleus, and re-seed the default-Gen.
|
|
static string | firstTok (Arg) |
| conveniently pick the first token from the argument line
|
|
static uint | firstVal (Arg, uint=1) |
| conveniently use some number given as argument, with optional default
|
|
◆ simpleUsage()
◆ verifyActivity_Post()
void verifyActivity_Post |
( |
| ) |
|
|
inlineprivate |
- Test:
- behaviour of Activity::POST
- invoke the λ-post to dispatch the chain through the queue
- the chain to be executed is given as
next
- time window for scheduling as data field
- the start time from this window becomes the
when
parameter
- the
now
parameter from the activation is thus ignored
Definition at line 107 of file scheduler-activity-test.cpp.
References Activity::POST, and Activity::TICK.
◆ verifyActivity_Invoke()
void verifyActivity_Invoke |
( |
| ) |
|
|
inlineprivate |
◆ verifyActivity_Notify()
void verifyActivity_Notify |
( |
| ) |
|
|
inlineprivate |
◆ verifyActivity_Gate_pass()
void verifyActivity_Gate_pass |
( |
| ) |
|
|
inlineprivate |
◆ verifyActivity_Gate_dead()
void verifyActivity_Gate_dead |
( |
| ) |
|
|
inlineprivate |
◆ verifyActivity_Gate_block()
void verifyActivity_Gate_block |
( |
| ) |
|
|
inlineprivate |
◆ verifyActivity_Gate_notify()
void verifyActivity_Gate_notify |
( |
| ) |
|
|
inlineprivate |
◆ verifyActivity_Gate_opened()
void verifyActivity_Gate_opened |
( |
| ) |
|
|
inlineprivate |
◆ termBuilder()
◆ dispatchChain()
◆ scenario_RenderJob()
void scenario_RenderJob |
( |
| ) |
|
|
inlineprivate |
◆ scenario_Notification()
void scenario_Notification |
( |
| ) |
|
|
inlineprivate |
- Test:
- usage scenario: Notification from prerequisite Jobs within time window
- build similar »CalculationJob« wiring
- configure extended dependency notification capabilities
- Case-1 : a Notification decreases the latch, but blocks otherwise
- Case-2 : when the primary chain is activated after the Notification, then the tail chain behind the Gate is dispatched
Definition at line 507 of file scheduler-activity-test.cpp.
References ActivityMatch::arg(), ActivityLang::dispatchChain(), Activity::FEED, Activity::GATE, ActivityDetector::incrementSeq(), ActivityDetector::insertActivationTap(), Activity::INVOKE, Time::NEVER, Activity::next, Activity::NOTIFY, Activity::POST, ActivityMatch::seq(), Activity::WORKSTART, and Activity::WORKSTOP.
◆ scenario_IOJob()
- Test:
- usage scenario: Activity graph for an async Job
- use a simple calculation job term as follow-up receiver
- build an activity Term based on the »Async Load Job« wiring and link it to the receiver
- also retrieve the Activity record used as re-entrance point after completing async IO
Definition at line 592 of file scheduler-activity-test.cpp.
References ActivityMatch::arg(), ActivityLang::dispatchChain(), Activity::FEED, Activity::GATE, ActivityDetector::incrementSeq(), Activity::INVOKE, Activity::next, Activity::NOTIFY, Activity::POST, ActivityMatch::seq(), Activity::WORKSTART, and Activity::WORKSTOP.
◆ scenario_MetaJob()
void scenario_MetaJob |
( |
| ) |
|
|
inlineprivate |
The documentation for this class was generated from the following file: