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