23 #ifndef _PLUGINS_CLIPS_AGENT_CLIPS_AGENT_THREAD_H_ 24 #define _PLUGINS_CLIPS_AGENT_CLIPS_AGENT_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 <core/threading/thread.h> 32 #include <interfaces/SkillerInterface.h> 33 #include <plugins/clips/aspect/clips.h> 34 #include <utils/time/time.h> 41 class SwitchInterface;
69 CLIPS::Values clips_now();
70 void clips_call_skill(std::string skill_name, CLIPS::Values args);
71 void clips_skill_call_ext(std::string skill_name, std::string skill_string);
76 bool cfg_assert_time_each_loop_;
78 float cfg_skill_sim_time_;
79 bool cfg_steal_skiller_control_;
90 std::string skill_string;
94 std::map<std::string, SkillExecInfo> active_skills_;
Thread aspect to access to BlackBoard.
Thread aspect that allows to obtain the current time from the clock.
Fawkes library namespace.
Main thread of CLIPS-based agent.
A class for handling time.
SkillStatusEnum
This determines the current status of skill execution.
Thread class encapsulation of pthreads.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to use blocked timing.
ClipsAgentThread()
Constructor.
SwitchInterface Fawkes BlackBoard Interface.
Thread aspect to log output.
Thread aspect to access configuration data.
SkillerInterface Fawkes BlackBoard Interface.
virtual void init()
Initialize the thread.
virtual void finalize()
Finalize the thread.
Thread aspect to get access to a CLIPS environment.
virtual void loop()
Code to execute in the thread.
virtual ~ClipsAgentThread()
Destructor.