22#ifndef INCLUDE_OLA_THREAD_SCHEDULERINTERFACE_H_
23#define INCLUDE_OLA_THREAD_SCHEDULERINTERFACE_H_
A 0 argument callback which can be called multiple times.
Definition Callback.h:129
A 0 argument callback which deletes itself after it's run.
Definition Callback.h:141
Allows Callbacks to be scheduled to run after a specified interval.
Definition SchedulerInterface.h:46
virtual void RemoveTimeout(timeout_id id)=0
Cancel an existing timeout.
virtual timeout_id RegisterRepeatingTimeout(const ola::TimeInterval &period, Callback0< bool > *callback)=0
Execute a callback periodically.
virtual timeout_id RegisterRepeatingTimeout(unsigned int period, Callback0< bool > *callback)=0
Execute a callback periodically.
virtual timeout_id RegisterSingleTimeout(unsigned int delay, SingleUseCallback0< void > *callback)=0
Execute a callback after a certain time interval.
virtual timeout_id RegisterSingleTimeout(const ola::TimeInterval &delay, SingleUseCallback0< void > *callback)=0
Execute a callback after a certain time interval.
void * timeout_id
A timeout handle which can later be used to cancel a timeout.
Definition SchedulerInterface.h:34
The namespace containing all OLA symbols.
Definition Credentials.cpp:44