Fawkes API
Fawkes Development Version
|
21 #ifndef _PLUGINS_SKILLER_SIMULATOR_EXEC_THREAD_H_
22 #define _PLUGINS_SKILLER_SIMULATOR_EXEC_THREAD_H_
24 #include <aspect/blackboard.h>
25 #include <aspect/blocked_timing.h>
26 #include <aspect/clock.h>
27 #include <aspect/configurable.h>
28 #include <aspect/logging.h>
29 #include <core/threading/thread.h>
30 #include <execution_time_estimator/aspect/execution_time_estimator.h>
31 #include <interfaces/SkillerInterface.h>
32 #include <plugins/skiller/skiller_feature.h>
56 float get_skill_runtime(
const std::string &skill)
const;
57 std::pair<fawkes::SkillerInterface::SkillStatusEnum, std::string>
58 execute_skill(
const std::string &skill);
60 float current_skill_runtime_;
virtual void loop()
Code to execute in the thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
SkillerSimulatorExecutionThread()
Constructor.
An aspect to give access to the execution time estimator manager.
Thread aspect to use blocked timing.
Simulated Skill Execution Thread.
Thread aspect to access to BlackBoard.
Thread aspect to log output.
SkillerInterface Fawkes BlackBoard Interface.
A class for handling time.
virtual void finalize()
Finalize the thread.
Thread class encapsulation of pthreads.
Thread aspect to access configuration data.
virtual void init()
Initialize the thread.