Fawkes API
Fawkes Development Version
|
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_;
SwitchInterface Fawkes BlackBoard Interface.
Main thread of CLIPS-based agent.
Thread aspect to use blocked timing.
SkillStatusEnum
This determines the current status of skill execution.
virtual void loop()
Code to execute in the thread.
virtual void init()
Initialize the thread.
virtual void finalize()
Finalize the thread.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Thread aspect to log output.
virtual ~ClipsAgentThread()
Destructor.
SkillerInterface Fawkes BlackBoard Interface.
Thread aspect to get access to a CLIPS environment.
A class for handling time.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread class encapsulation of pthreads.
Thread aspect to access configuration data.
ClipsAgentThread()
Constructor.
Thread aspect that allows to obtain the current time from the clock.