Lumiera  0.pre.03
»edit your freedom«
ScheduleSpec Class Reference

Description

Definition at line 150 of file scheduler.hpp.

Public Member Functions

 ScheduleSpec (Scheduler &sched, Job job)
 
ScheduleSpec compulsory (bool indeed=true)
 
ScheduleSpec lifeWindow (microseconds afterStart)
 
ScheduleSpec linkToPredecessor (ScheduleSpec &, bool unlimitedTime=false)
 
ScheduleSpec linkToSuccessor (ScheduleSpec &, bool unlimitedTime=false)
 
ScheduleSpec manifestation (ManifestationID manID)
 
ScheduleSpec post ()
 build Activity chain and hand-over to the Scheduler. More...
 
ScheduleSpec startOffset (microseconds afterNow)
 
ScheduleSpec startTime (Time fixedTime)
 

Private Member Functions

void maybeBuildTerm ()
 
- Private Member Functions inherited from MoveAssign
 MoveAssign (MoveAssign &&)=default
 
 MoveAssign (MoveAssign const &)=delete
 
MoveAssignoperator= (MoveAssign &&)=default
 
MoveAssignoperator= (MoveAssign const &)=delete
 

Private Attributes

TimeVar death_ {Time::NEVER}
 
bool isCompulsory_ {false}
 
Job job_
 
ManifestationID manID_ {}
 
TimeVar start_ {Time::ANYTIME}
 
std::optional< activity::Termterm_
 
SchedulertheScheduler_
 

Member Function Documentation

◆ post()

ScheduleSpec post ( )
inline

build Activity chain and hand-over to the Scheduler.

Note
after invoking this terminal operation, the schedule is defined and will be triggered when start time arrives. However, before reaching this trigger point, the embedded activity::Term can still be augmented and dependencies can be established.
Remarks
This ScheduleSpec builder is disposable (and can be moved), while the actual Activities are allocated into the BlockFlow, where they are guaranteed to live until reaching the deadline.

Definition at line 546 of file scheduler.hpp.

Referenced by TestChainLoad< maxFan >::ScheduleCtx::continuation().

+ Here is the caller graph for this function:

◆ maybeBuildTerm()

void maybeBuildTerm ( )
inlineprivate

if not done yet, then construct the Activity-Language term describing the schedule according to the parameters set thus far.

Definition at line 563 of file scheduler.hpp.

References ScheduleSpec::maybeBuildTerm().

Referenced by ScheduleSpec::maybeBuildTerm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for ScheduleSpec:
+ Collaboration diagram for ScheduleSpec:

The documentation for this class was generated from the following file: