24 #include <core/threading/thread_finalizer.h>
25 #include <plugins/clips/aspect/clips_env_manager.h>
26 #include <plugins/clips/aspect/clips_feature_inifin.h>
51 clips_thread = dynamic_cast<CLIPSFeatureAspect *>(thread);
52 if (clips_thread == NULL) {
54 "CLIPSFeatureAspect, but RTTI says it "
59 clips_env_mgr_->add_features(clips_thread->clips_features_);
65 CLIPSFeatureAspect *clips_thread;
66 clips_thread = dynamic_cast<CLIPSFeatureAspect *>(thread);
67 if (clips_thread == NULL)
71 clips_env_mgr_->assert_can_remove_features(clips_thread->clips_features_);
81 CLIPSFeatureAspect *clips_thread;
82 clips_thread = dynamic_cast<CLIPSFeatureAspect *>(thread);
83 if (clips_thread == NULL) {
85 "CLIPSFeatureAspect, but RTTI says it "
90 clips_env_mgr_->remove_features(clips_thread->clips_features_);
99 clips_env_mgr_ = clips_env_mgr;