Fawkes API
Fawkes Development Version
|
#include <>>
Public Member Functions | |
CLIPSFeature (const char *feature_name) | |
Constructor. More... | |
virtual | ~CLIPSFeature () |
Virtual empty constructor. More... | |
virtual void | clips_context_init (const std::string &env_name, fawkes::LockPtr< CLIPS::Environment > &clips)=0 |
virtual void | clips_context_destroyed (const std::string &env_name)=0 |
Protected Attributes | |
const std::string | clips_feature_name |
CLIPS feature name. More... | |
CLIPS feature maintainer. Instances of this class are called to initialize or finalize CLIPS feature requests.
Definition at line 40 of file clips_feature.h.
fawkes::CLIPSFeature::CLIPSFeature | ( | const char * | feature_name | ) |
Constructor.
feature_name | name of the feature |
Definition at line 45 of file clips_feature.cpp.
|
virtual |
Virtual empty constructor.
Definition at line 50 of file clips_feature.cpp.
References fawkes::Aspect::add_aspect().
|
pure virtual |
Notification that a CLIPS environment has been destroyed. At this time the CLIPS environment can no longer be accessed. But the event can be used to free internal resources that were associated with the environment.
env_name | name of destroyed CLIPS environment |
Implemented in ClipsRobotMemoryThread, ClipsNavGraphThread, ClipsROSThread, BlackboardCLIPSFeature, ClipsProtobufThread, ClipsTFThread, ConfigCLIPSFeature, RedefineWarningCLIPSFeature, and PDDLCLIPSFeature.
|
pure virtual |
Initialize a CLIPS context to use the provided feature. This method must be implemented by threads with the CLIPSFeatureAspect. It is called to initialize a particular CLIPS environment that requests to use the provided feature.
env_name | name of CLIPS environment to initialized. |
clips | CLIPS environment to initialize |
Implemented in ClipsRobotMemoryThread, ClipsNavGraphThread, ClipsROSThread, BlackboardCLIPSFeature, ClipsProtobufThread, ClipsTFThread, ConfigCLIPSFeature, RedefineWarningCLIPSFeature, and PDDLCLIPSFeature.
|
protected |
CLIPS feature name.
Definition at line 53 of file clips_feature.h.