Fawkes API
Fawkes Development Version
|
22 #ifndef _PLUGINS_OPENPRS_AGENT_OPENPRS_AGENT_THREAD_H_
23 #define _PLUGINS_OPENPRS_AGENT_OPENPRS_AGENT_THREAD_H_
25 #include <aspect/blocked_timing.h>
26 #include <aspect/clock.h>
27 #include <aspect/configurable.h>
28 #include <aspect/logging.h>
29 #include <core/threading/thread.h>
30 #include <plugins/openprs/aspect/openprs.h>
58 void handle_message(std::string sender, std::string message);
61 std::string cfg_agent_;
OpenPRS kernel creation and communication aspect.
Thread aspect to use blocked timing.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual ~OpenPRSAgentThread()
Destructor.
Thread aspect to log output.
virtual void init()
Initialize the thread.
Thread class encapsulation of pthreads.
OpenPRSAgentThread(OpenPRSAspect::Mode oprs_mode, bool gdb_delay)
Constructor.
Thread aspect to access configuration data.
virtual void finalize()
Finalize the thread.
Thread aspect that allows to obtain the current time from the clock.
virtual void loop()
Code to execute in the thread.