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