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),
69 static int modcount = 0;
70 if (++modcount % 50 == 0) {
Fawkes library namespace.
const std::string openprs_kernel_name
The name of the kernel created for this thread.
Thread class encapsulation of pthreads.
virtual void finalize()
Finalize the thread.
OpenPRS kernel creation and communication aspect.
OpenPRSExampleThread()
Constructor.
Thread aspect to use blocked timing.
virtual ~OpenPRSExampleThread()
Destructor.
LockPtr< OpenPRSComm > openprs
OpenPRS kernel communication wrapper.
virtual void loop()
Code to execute in the thread.
virtual void init()
Initialize the thread.