23 #ifndef __PLUGINS_SKILLER_EXEC_THREAD_H_ 24 #define __PLUGINS_SKILLER_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> 33 # include <aspect/tf.h> 35 #include <utils/system/fam.h> 36 #include <blackboard/interface_listener.h> 37 #include <lua/context_watcher.h> 38 #include <blackboard/ownership.h> 39 #include <core/utils/lock_queue.h> 46 class ComponentLogger;
50 class SkillerInterface;
51 class SkillerDebugInterface;
52 #ifdef SKILLER_TIMETRACKING 83 unsigned int instance_serial)
throw();
89 protected:
virtual void run() { Thread::run(); }
96 std::string __cfg_skillspace;
97 bool __cfg_watch_files;
105 std::list<SkillerFeature *> __features;
Thread aspect to access to BlackBoard.
virtual ~SkillerExecutionThread()
Destructor.
Thread aspect that allows to obtain the current time from the clock.
virtual void loop()
Code to execute in the thread.
SkillerExecutionThread()
Constructor.
void bb_interface_reader_removed(fawkes::Interface *interface, unsigned int instance_serial)
A reading instance has been closed for a watched interface.
Fawkes library namespace.
Thread class encapsulation of pthreads.
Base class for all Fawkes BlackBoard interfaces.
Skiller Execution Thread.
Thread aspect to use blocked timing.
void lua_restarted(fawkes::LuaContext *context)
Lua restart event.
BlackBoard that traces interface ownership.
Thread aspect to log output.
void add_skiller_feature(SkillerFeature *feature)
Add a skiller feature.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to access configuration data.
virtual void init()
Initialize the thread.
SkillerInterface Fawkes BlackBoard Interface.
Skiller feature base class.
virtual void finalize()
Finalize the thread.
BlackBoard interface listener.