Fawkes API
Fawkes Development Version
|
23 #ifndef _PLUGINS_LUAAGENT_CONTINUOUS_EXEC_THREAD_H_
24 #define _PLUGINS_LUAAGENT_CONTINUOUS_EXEC_THREAD_H_
26 #include <aspect/blackboard.h>
27 #include <aspect/blocked_timing.h>
28 #include <aspect/clock.h>
29 #include <aspect/configurable.h>
30 #include <aspect/logging.h>
31 #include <aspect/thread_producer.h>
32 #include <core/threading/thread.h>
34 # include <aspect/tf.h>
36 #include <utils/system/fam.h>
42 class ComponentLogger;
45 class LuaInterfaceImporter;
47 class SkillerInterface;
48 class SkillerDebugInterface;
71 virtual void fam_event(
const char *filename,
unsigned int mask);
85 void init_failure_cleanup();
110 std::string cfg_agent_;
111 bool cfg_watch_files_;
119 LuaThread * lua_thread_;
Mutex mutual exclusion lock.
File Alteration Monitor Listener.
Aspect for thread producing threads.
void write_interfaces()
Update all reading interfaces.
Thread aspect to use blocked timing.
LuaAgentContinuousExecutionThread()
Constructor.
void read_interfaces()
Update all reading interfaces.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread(const char *name)
Constructor.
virtual void fam_event(const char *filename, unsigned int mask)
Event has been raised.
virtual void init()
Initialize the thread.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Thread aspect to log output.
virtual void loop()
Code to execute in the thread.
SkillerInterface Fawkes BlackBoard Interface.
virtual ~LuaAgentContinuousExecutionThread()
Destructor.
LuaAgent Periodic Execution Thread.
Thread class encapsulation of pthreads.
virtual void finalize()
Finalize the thread.
Thread aspect to access configuration data.
Thread aspect that allows to obtain the current time from the clock.