23 #ifndef _PLUGINS_OPENPRS_EXAMPLE_OPENPRS_EXAMPLE_THREAD_H_ 24 #define _PLUGINS_OPENPRS_EXAMPLE_OPENPRS_EXAMPLE_THREAD_H_ 26 #include <aspect/blocked_timing.h> 27 #include <aspect/logging.h> 28 #include <core/threading/thread.h> 29 #include <plugins/openprs/aspect/openprs.h> 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.
Thread aspect to log output.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void loop()
Code to execute in the thread.
virtual void init()
Initialize the thread.