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