28 #ifndef SRC_VAULT_GEAR_ACTIVITY_LANG_H_ 29 #define SRC_VAULT_GEAR_ACTIVITY_LANG_H_ 40 using BlockFlowAlloc = BlockFlow<blockFlow::RenderConfig>;
127 if (!chain)
return activity::PASS;
129 if (activity::PASS == res)
131 else if (activity::SKIP == res)
132 res = activity::PASS;
144 while (chain and activity::PASS == res)
146 res = chain->
activate (executionCtx.getSchedTime(), executionCtx);
149 if (activity::SKIP == res)
150 res = activity::PASS;
Record to describe an Activity, to happen within the Scheduler's control flow.
activity::Term buildCalculationJob(Job job, Time start, Time deadline)
Builder-API: initiate definition of render activities for a media calculation job.
Memory management scheme for activities and parameter data passed through the Scheduler within the Lu...
Framerate specified as frames per second.
void announceLoad(FrameRate fps)
activity::Proc activate(Time now, EXE &executionCtx)
Core Operation: Activate and perform this Activity.
activity::Term buildAsyncLoadJob(Job job, Time start, Time deadline)
Builder-API: initiate definition of IO data loading activities.
scheme for a synchronous media calculation job
Lumiera's internal time value datatype.
Term builder and execution framework to perform chains of scheduler Activities.
scheme for an asynchronous data retrieval job
A Term of the »Activity Language«, describing the steps necessary to perform the calculation of a sin...
void announceAdditionalFlow(FrameRate additionalFps)
provide a hint to the self-regulating allocation scheme.
activity::Term setupActivityScheme(activity::Term::Template schemeKind, Job job, Time start, Time dead)
activity::Proc dispatch(Time now, EXE &executionCtx)
Entrance point for an activation, which has been dispatched indirectly through the dispatch and/or pr...
Activity * next
Activities are organised into chains to represent relations based on verbs.
internal engine »heart beat« for internal maintenance hook(s)
scheme for planning and organisational job
void discardBefore(Time deadline)
void discardBefore(Time deadline)
Clean-up all storage related to activities before the given deadline.
static activity::Proc dispatchChain(Activity *chain, EXE &executionCtx)
Execution Framework: dispatch performance of a chain of Activities.
Proc
Result instruction from Activity activation.
A term of the activity language describing interconnected scheduler activities.
Activity & createTick(Time deadline)
Individual frame rendering task, forwarding to a closure.
Vault-Layer implementation namespace root.
activity::Term buildMetaJob(Job job, Time start, Time deadline)
Builder-API: initiate definition of internal/planning job.
static activity::Proc activateChain(Activity *chain, EXE &executionCtx)
Execution Framework: successive activation of Activities in a chain.
AllocatorHandle until(Time deadline)
initiate allocations for activities to happen until some deadline
Descriptor for a piece of operational logic performed by the scheduler.