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_;
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.