|
virtual void | run (Arg arg)=0 |
|
◆ 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 114 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 514 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 599 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: