24 #include <core/threading/thread_finalizer.h> 25 #include <plugins/clips/aspect/clips_env_manager.h> 26 #include <plugins/clips/aspect/clips_inifin.h> 53 clips_thread = dynamic_cast<CLIPSAspect *>(thread);
54 if (clips_thread == NULL) {
56 "CLIPSAspect, but RTTI says it " 63 clips_thread->CLIPSAspect_log_component_name_);
65 clips_thread->
clips = clips;
72 clips_thread = dynamic_cast<CLIPSAspect *>(thread);
73 if (clips_thread == NULL) {
75 "CLIPSAspect, but RTTI says it " 81 clips_thread->finalize_CLIPSAspect();
90 clips_env_mgr_ = clips_env_mgr;
virtual void init(Thread *thread)
Initialize thread.
Fawkes library namespace.
virtual void finalize(Thread *thread)
Finalize thread.
CLIPSAspectIniFin()
Constructor.
~CLIPSAspectIniFin()
Destructor.
Thread class encapsulation of pthreads.
Thread cannot be initialized.
const char * name() const
Get name of thread.
LockPtr< CLIPS::Environment > clips
CLIPS environment for exclusive usage.
void set_manager(LockPtr< CLIPSEnvManager > &clips_env_mgr)
Set CLIPS environment manger.
Thread cannot be finalized.
const std::string clips_env_name
CLIPS environment name.
Thread aspect to get access to a CLIPS environment.
Aspect initializer/finalizer base class.