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_;
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void finalize()
Finalize the thread.
OpenPRSAgentThread(OpenPRSAspect::Mode oprs_mode, bool gdb_delay)
Constructor.
virtual ~OpenPRSAgentThread()
Destructor.
virtual void loop()
Code to execute in the thread.
virtual void init()
Initialize the thread.
Thread aspect to use blocked timing.
Thread aspect that allows to obtain the current time from the clock.
Thread aspect to access configuration data.
Thread aspect to log output.
OpenPRS kernel creation and communication aspect.
Thread class encapsulation of pthreads.