21 #ifndef INCLUDE_OLA_THREAD_PERIODICTHREAD_H_
22 #define INCLUDE_OLA_THREAD_PERIODICTHREAD_H_
26 #include <ola/thread/Thread.h>
27 #include <ola/Clock.h>
56 PeriodicCallback *callback,
71 PeriodicCallback *m_callback;
81 #endif // INCLUDE_OLA_THREAD_PERIODICTHREAD_H_
void * Run()
The entry point for the new thread.
Definition: PeriodicThread.cpp:52
Callback0< bool > PeriodicCallback
The callback to run.
Definition: PeriodicThread.h:44
void Stop()
Stop the PeriodicThread.
Definition: PeriodicThread.cpp:43
A 0 argument callback which can be called multiple times.
Definition: Callback.h:129
Thread options.
Definition: Thread.h:60
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
A thread which executes a Callback.
Definition: PeriodicThread.h:37
PeriodicThread(const TimeInterval &delay, PeriodicCallback *callback, const Options &options=Options())
Definition: PeriodicThread.cpp:31