This thread creates an ECLiPSe context in which the Readylog interpreter and the program are loaded. More...
#include "eclipse_thread.h"
Public Member Functions | |
EclipseAgentThread () | |
Constructor. | |
virtual | ~EclipseAgentThread () |
Destructor. | |
virtual void | init () |
virtual void | finalize () |
virtual void | once () |
void | post_event (const char *) |
Post an event to the ECLiPSe context. | |
void | read_interfaces () |
Read all registered interfaces. | |
void | write_interfaces () |
Write the registered interface that have been opened for writing. | |
fawkes::Interface * | get_registered_interface (const char *id) |
Get the registered interface with the given id. | |
fawkes::Logger * | get_logger () |
Get the logger. | |
Static Public Member Functions | |
static EclipseAgentThread * | instance () |
Get the EclipseAgentThread instance. |
This thread creates an ECLiPSe context in which the Readylog interpreter and the program are loaded.
Definition at line 39 of file eclipse_thread.h.
EclipseAgentThread::EclipseAgentThread | ( | ) |
Constructor.
Definition at line 51 of file eclipse_thread.cpp.
EclipseAgentThread::~EclipseAgentThread | ( | ) | [virtual] |
Destructor.
Definition at line 59 of file eclipse_thread.cpp.
fawkes::Logger * EclipseAgentThread::get_logger | ( | ) |
Get the logger.
Definition at line 386 of file eclipse_thread.cpp.
References fawkes::LoggingAspect::logger.
fawkes::Interface * EclipseAgentThread::get_registered_interface | ( | const char * | id | ) |
Get the registered interface with the given id.
id | the interface id |
Definition at line 373 of file eclipse_thread.cpp.
EclipseAgentThread * EclipseAgentThread::instance | ( | ) | [static] |
Get the EclipseAgentThread instance.
Definition at line 395 of file eclipse_thread.cpp.
void EclipseAgentThread::post_event | ( | const char * | event | ) |
Post an event to the ECLiPSe context.
event | the name of the event |
Definition at line 177 of file eclipse_thread.cpp.
void EclipseAgentThread::read_interfaces | ( | ) |
Read all registered interfaces.
Definition at line 189 of file eclipse_thread.cpp.
void EclipseAgentThread::write_interfaces | ( | ) |
Write the registered interface that have been opened for writing.
Definition at line 204 of file eclipse_thread.cpp.