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