Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Activity::Condition Struct Reference

#include "vault/gear/activity.hpp"

Description

Access gate condition to evaluate.

Definition at line 276 of file activity.hpp.

Public Attributes

int rest
 alive while rest > 0
 
Instant dead
 alive while time < dead
 

Public Member Functions

bool isDead (Time now) const
 
bool isHold () const
 
bool isFree (Time now) const
 
Time getDeadline () const
 
void incDependencies ()
 
Time lockPermanently ()
 

Member Function Documentation

◆ isDead()

bool isDead ( Time  now) const
inline

Definition at line 281 of file activity.hpp.

References Activity::Condition::dead.

Referenced by Activity::checkGate(), Epoch< ALO >::EpochGate::isAlive(), and Activity::Condition::isFree().

+ Here is the caller graph for this function:

◆ isHold()

bool isHold ( ) const
inline

Definition at line 282 of file activity.hpp.

References Activity::Condition::rest.

Referenced by Activity::checkGate(), Epoch< ALO >::EpochGate::isAlive(), and Activity::Condition::isFree().

+ Here is the caller graph for this function:

◆ isFree()

bool isFree ( Time  now) const
inline

Definition at line 283 of file activity.hpp.

References Activity::Condition::isDead(), and Activity::Condition::isHold().

Referenced by Activity::receiveGateNotification().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDeadline()

Time getDeadline ( ) const
inline

Definition at line 284 of file activity.hpp.

References Activity::Condition::dead.

Referenced by ActivityDetector::ActivityProbe::getDeadline(), and Activity::postNotify().

+ Here is the caller graph for this function:

◆ incDependencies()

void incDependencies ( )
inline

Definition at line 285 of file activity.hpp.

References Activity::Condition::rest.

Referenced by Activity::incDependencies().

+ Here is the caller graph for this function:

◆ lockPermanently()

Time lockPermanently ( )
inline

Definition at line 288 of file activity.hpp.

References Activity::Condition::dead, and Time::MIN.

Referenced by Activity::receiveGateNotification().

+ Here is the caller graph for this function:

Member Data Documentation

◆ rest

◆ dead

+ Collaboration diagram for Activity::Condition:

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