Sched module
OnceOnlyTrigger
Trigger that fires exactly once at the scheduled time and then expires.
OnceOnlyTrigger
#include <icy/sched/trigger.h>Inherits:
Trigger
Trigger that fires exactly once at the scheduled time and then expires.
Public Methods
| Return | Name | Description |
|---|---|---|
OnceOnlyTrigger | Constructs the trigger with type "OnceOnlyTrigger". | |
void | update virtual inline | No-op; scheduleAt is set once at construction and never advanced. |
bool | expired virtual | Returns true after the task has run at least once. |
OnceOnlyTrigger
OnceOnlyTrigger()Constructs the trigger with type "OnceOnlyTrigger".
update
virtual inline
virtual inline void update()No-op; scheduleAt is set once at construction and never advanced.
expired
virtual
virtual bool expired()Returns true after the task has run at least once.
