Fawkes API
Fawkes Development Version
|
#include <>>
Public Member Functions | |
CLIPSAspect (const char *env_name, const char *log_component_name=0) | |
Constructor. More... | |
virtual | ~CLIPSAspect () |
Virtual empty destructor. More... | |
![]() | |
const std::list< const char * > & | get_aspects () const |
Get list of aspect names attached to a aspected thread. More... | |
Protected Attributes | |
const std::string | clips_env_name |
LockPtr< CLIPS::Environment > | clips |
Additional Inherited Members | |
![]() | |
void | add_aspect (const char *name) |
Add an aspect to a thread. More... | |
Thread aspect to get access to a CLIPS environment. Give this aspect to your thread to get a CLIPS environment for exclusive usage.
fawkes::CLIPSAspect::CLIPSAspect | ( | const char * | env_name, |
const char * | log_component_name = 0 |
||
) |
Constructor.
env_name | CLIPS environment name, the environment name is unique, if you request an environment already occupied by another the exclusive parameter defines whether an error is thrown or if the environment is shared |
log_component_name | a component name that is shown in log messages. It is strongly recommended to set this to something unique. If left out will be set to "CLIPS[env_name]". |
|
virtual |
|
protected |
CLIPS environment for exclusive usage.
Definition at line 50 of file clips.h.
Referenced by ClipsExecutiveThread::finalize(), ClipsAgentThread::finalize(), CedarThread::init(), ClipsExecutiveThread::init(), ClipsAgentThread::init(), CedarThread::loop(), ClipsExecutiveThread::loop(), and ClipsAgentThread::loop().
|
protected |