Lumiera  0.pre.03
»edit your freedom«
ActivationEvent Struct Reference

#include "vault/gear/scheduler-invocation.hpp"

Description

data record passed through the queues, representing an event to be scheduled

Definition at line 91 of file scheduler-invocation.hpp.

Public Member Functions

 ActivationEvent (Activity &act, Time when, Time dead=Time::NEVER, ManifestationID manID=ManifestationID(), bool compulsory=false)
 
Time deathTime () const
 
 operator Activity * () const
 
 operator bool () const
 
bool operator< (ActivationEvent const &o) const
 
void refineTo (Activity *chain, Time when, Time dead)
 
Time startTime () const
 

Public Attributes

Activityactivity
 
int64_t deadline
 
bool isCompulsory:1
 
uint32_t manifestation:32
 
int64_t starting
 

Member Function Documentation

◆ operator<()

bool operator< ( ActivationEvent const &  o) const
inline

ordering function for time based scheduling

Note
reversed order as required by std::priority_queue to get the earliest element at top of the queue

Definition at line 125 of file scheduler-invocation.hpp.

+ Collaboration diagram for ActivationEvent:

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