23 #include "clips_thread.h" 24 #include "feature_blackboard.h" 25 #include "feature_config.h" 26 #include "feature_redefine_warning.h" 27 #include <plugins/clips/aspect/clips_env_manager.h> 56 std::string clips_dir = SRCDIR
"/clips/";
64 clips_feature_aspect_inifin_.
set_manager(clips_env_mgr_);
65 clips_manager_aspect_inifin_.
set_manager(clips_env_mgr_);
77 clips_env_mgr_.
clear();
79 for (
auto f : features_) {
91 const std::list<AspectIniFin *>
92 CLIPSThread::inifin_list()
94 std::list<AspectIniFin *> rv;
95 rv.push_back(&clips_aspect_inifin_);
96 rv.push_back(&clips_feature_aspect_inifin_);
97 rv.push_back(&clips_manager_aspect_inifin_);
CLIPS warning on redefinition of names.
Fawkes library namespace.
CLIPS blackboard feature.
Thread class encapsulation of pthreads.
virtual void init()
Initialize the thread.
void add_features(const std::list< CLIPSFeature *> &features)
Add a feature by name.
virtual ~CLIPSThread()
Destructor.
Logger * logger
This is the Logger member used to access the logger.
Clock * clock
By means of this member access to the clock is given.
CLIPS blackboard feature.
CLIPSThread()
Constructor.
Base class for exceptions in Fawkes.
void set_manager(LockPtr< CLIPSEnvManager > &clips_env_mgr)
Set CLIPS environment manger.
void set_manager(LockPtr< CLIPSEnvManager > &clips_env_mgr)
Set CLIPS environment manger.
Thread aspect provide a new aspect.
void clear()
Set underlying instance to 0, decrementing reference count of existing instance appropriately.
virtual void finalize()
Finalize the thread.
void set_manager(LockPtr< CLIPSEnvManager > &clips_env_mgr)
Set CLIPS environment manger.
virtual void loop()
Code to execute in the thread.
Configuration * config
This is the Configuration member used to access the configuration.
virtual std::string get_string(const char *path)=0
Get value from configuration which is of type string.
BlackBoard * blackboard
This is the BlackBoard instance you can use to interact with the BlackBoard.
CLIPS environment manager.