IPlanScope
A task family's hook on the life of a plan.
| Inherited By | construct::opal::ConstructPlanScope |
Declared in src/libs/libopal/opal/IPlanScope.hpp.
Detailed description
OpalTaskRuntime knows when a plan starts a step and when it ends; it does not know what a step touches. A family that must act for a whole plan — construct holds each document a plan edits, and settles it once at the end (opal-plan-edit-sessions §PES-1.2) — registers a scope with OpalTaskRegistry::addPlanScope(). Every runtime calls every scope, so no runtime can be made that forgets one.
A scope keys what it keeps by the plan's session id (OpalTaskContext::sessionId()). Plans on several runtimes can run at once.