22#include "openprs_example_thread.h"
24#include <logging/logger.h>
25#include <plugins/openprs/utils/openprs_comm.h>
38:
Thread(
"OpenPRSExampleThread",
Thread::OPMODE_WAITFORWAKEUP),
66 static int modcount = 0;
67 if (++modcount % 50 == 0) {
virtual void init()
Initialize the thread.
OpenPRSExampleThread()
Constructor.
virtual void loop()
Code to execute in the thread.
virtual void finalize()
Finalize the thread.
virtual ~OpenPRSExampleThread()
Destructor.
Thread aspect to use blocked timing.
OpenPRS kernel creation and communication aspect.
LockPtr< OpenPRSComm > openprs
OpenPRS kernel communication wrapper.
const std::string openprs_kernel_name
The name of the kernel created for this thread.
Thread class encapsulation of pthreads.
Fawkes library namespace.