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>
45class LuaInterfaceImporter;
47class SkillerInterface;
48class 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_;
LuaAgent Periodic Execution Thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
LuaAgentContinuousExecutionThread()
Constructor.
void write_interfaces()
Update all reading interfaces.
virtual void fam_event(const char *filename, unsigned int mask)
Event has been raised.
virtual void init()
Initialize the thread.
virtual void finalize()
Finalize the thread.
virtual ~LuaAgentContinuousExecutionThread()
Destructor.
virtual void loop()
Code to execute in the thread.
void read_interfaces()
Update all reading interfaces.
Thread aspect to access to BlackBoard.
Thread aspect to use blocked timing.
Thread aspect that allows to obtain the current time from the clock.
Thread aspect to access configuration data.
File Alteration Monitor Listener.
Thread aspect to log output.
Mutex mutual exclusion lock.
SkillerInterface Fawkes BlackBoard Interface.
Aspect for thread producing threads.
Thread class encapsulation of pthreads.
Thread(const char *name)
Constructor.
Fawkes library namespace.