23 #ifndef __PLUGINS_READYLOG_AGENT_ECLIPSE_THREAD_H_
24 #define __PLUGINS_READYLOG_AGENT_ECLIPSE_THREAD_H_
26 #include <core/threading/thread.h>
27 #include <aspect/logging.h>
28 #include <aspect/configurable.h>
29 #include <aspect/blackboard.h>
63 bool load_file(
const char* filename );
71 std::vector< fawkes::Interface* > m_reading_ifaces;
72 std::vector< fawkes::Interface* > m_writing_ifaces;
74 std::map< std::string, fawkes::Interface* > m_registered_interfaces;
EclipseAgentThread()
Constructor.
Thread aspect to access to BlackBoard.
virtual void finalize()
Finalize the thread.
fawkes::Logger * get_logger()
Get the logger.
Fawkes library namespace.
Thread class encapsulation of pthreads.
Base class for all Fawkes BlackBoard interfaces.
virtual ~EclipseAgentThread()
Destructor.
void post_event(const char *)
Post an event to the ECLiPSe context.
static EclipseAgentThread * instance()
Get the EclipseAgentThread instance.
void read_interfaces()
Read all registered interfaces.
Thread aspect to log output.
fawkes::Interface * get_registered_interface(const char *id)
Get the registered interface with the given id.
This thread creates an ECLiPSe context in which the Readylog interpreter and the program are loaded...
virtual void init()
Initialize the thread.
Thread aspect to access configuration data.
virtual void once()
Execute an action exactly once.
void write_interfaces()
Write the registered interface that have been opened for writing.