Fawkes API
Fawkes Development Version
|
21 #ifndef FAWKES_GOLOGPP_THREAD_H_
22 #define FAWKES_GOLOGPP_THREAD_H_
24 #include <aspect/blackboard.h>
25 #include <aspect/configurable.h>
26 #include <aspect/logging.h>
27 #include <blackboard/interface_listener.h>
28 #include <core/threading/thread.h>
29 #include <golog++/model/execution.h>
35 class SkillerInterface;
51 virtual void init()
override;
52 virtual void once()
override;
61 std::filesystem::path find_prog_file(
const std::filesystem::path &spec)
const;
62 std::unique_ptr<gologpp::Instruction> main_prog_;
65 std::mutex run_mutex_;
gologpp::ExecutionContext & gologpp_context()
GologppThread::gologpp_context.
virtual bool prepare_finalize_user() override
Prepare finalization user implementation.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Thread aspect to log output.
SkillerInterface Fawkes BlackBoard Interface.
Thread class encapsulation of pthreads.
Thread aspect to access configuration data.
virtual void once() override
Execute an action exactly once.
virtual void init() override
Initialize the thread.
Main golog++ thread that handles program execution, i.e.
Watch/observe blackboard interfaces according to the mappings specified for exogenous actions in the ...
virtual void finalize() override
Finalize the thread.