Fawkes API
Fawkes Development Version
|
CLIPS feature maintainer. More...
#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 |
Initialize a CLIPS context to use the provided feature. More... | |
virtual void | clips_context_destroyed (const std::string &env_name)=0 |
Notification that a CLIPS environment has been destroyed. More... | |
Protected Attributes | |
const std::string | clips_feature_name |
CLIPS feature name. More... | |
Friends | |
class | CLIPSEnvManager |
CLIPS feature maintainer.
Instances of this class are called to initialize or finalize CLIPS feature requests.
Definition at line 41 of file clips_feature.h.
fawkes::CLIPSFeature::CLIPSFeature | ( | const char * | feature_name | ) |
Constructor.
feature_name | name of the feature |
Definition at line 44 of file clips_feature.cpp.
|
virtual |
Virtual empty constructor.
Definition at line 51 of file clips_feature.cpp.
|
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 ClipsNavGraphThread, ClipsProtobufThread, ClipsROSThread, BlackboardCLIPSFeature, ClipsTFThread, ConfigCLIPSFeature, and RedefineWarningCLIPSFeature.
|
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 ClipsNavGraphThread, ClipsProtobufThread, ClipsROSThread, BlackboardCLIPSFeature, ClipsTFThread, ConfigCLIPSFeature, and RedefineWarningCLIPSFeature.
|
protected |
CLIPS feature name.
Definition at line 53 of file clips_feature.h.