23#include <plugins/examples/basics/thread.h>
86 if ((m % modc) == 0) {
virtual void init()
Initialize the thread.
virtual void loop()
Thread loop.
ExampleThread(fawkes::BlockedTimingAspect::WakeupHook hook, const char *name, unsigned int modc)
Constructor.
virtual void finalize()
Finalize the thread.
virtual ~ExampleThread()
Destructor.
Thread aspect to use blocked timing.
WakeupHook
Type to define at which hook the thread is woken up.
virtual void log_info(const char *component, const char *format,...)=0
Log informational message.
Logger * logger
This is the Logger member used to access the logger.
Thread class encapsulation of pthreads.
const char * name() const
Get name of thread.
Fawkes library namespace.