22 #ifndef INCLUDE_OLA_THREAD_SCHEDULERINTERFACE_H_ 23 #define INCLUDE_OLA_THREAD_SCHEDULERINTERFACE_H_ 26 #include <ola/Clock.h> 107 #endif // INCLUDE_OLA_THREAD_SCHEDULERINTERFACE_H_ A time interval, with usecond accuracy.
Definition: Clock.h:138
A 0 arg, single use callback that returns void.
Definition: Callback.h:157
static const timeout_id INVALID_TIMEOUT
An invalid / uninitialized timeout_id.
Definition: SchedulerInterface.h:39
A 0 argument callback which can be called multiple times.
Definition: Callback.h:129
void * timeout_id
A timeout handle which can later be used to cancel a timeout.
Definition: SchedulerInterface.h:34
virtual timeout_id RegisterRepeatingTimeout(unsigned int period, Callback0< bool > *callback)=0
Execute a callback periodically.
virtual void RemoveTimeout(timeout_id id)=0
Cancel an existing timeout.
virtual timeout_id RegisterSingleTimeout(unsigned int delay, SingleUseCallback0< void > *callback)=0
Execute a callback after a certain time interval.
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Allows Callbacks to be scheduled to run after a specified interval.
Definition: SchedulerInterface.h:46