Fawkes API  Fawkes Development Version
fawkes::CLIPSFeatureAspect Class Reference

Thread aspect to provide a feature to CLIPS environments. More...

#include <>>

Inheritance diagram for fawkes::CLIPSFeatureAspect:

Public Member Functions

 CLIPSFeatureAspect (CLIPSFeature *feature)
 Constructor. More...
 
 CLIPSFeatureAspect (const std::list< CLIPSFeature * > features)
 Constructor for multiple features. More...
 
virtual ~CLIPSFeatureAspect ()
 Virtual empty destructor. More...
 
- Public Member Functions inherited from fawkes::Aspect
const std::list< const char * > & get_aspects () const
 Get list of aspect names attached to a aspected thread. More...
 

Protected Attributes

std::list< CLIPSFeature * > clips_features_
 List of all clips features. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fawkes::Aspect
void add_aspect (const char *name)
 Add an aspect to a thread. More...
 

Detailed Description

Thread aspect to provide a feature to CLIPS environments.

Give this aspect to your thread if you want to provide a CLIPS feature (library) to other threads which have the CLIPSAspect.

Author
Tim Niemueller

Definition at line 57 of file clips_feature.h.

Constructor & Destructor Documentation

◆ CLIPSFeatureAspect() [1/2]

fawkes::CLIPSFeatureAspect::CLIPSFeatureAspect ( CLIPSFeature feature)

Constructor.

Parameters
featureCLIPS feature maintainer

Definition at line 79 of file clips_feature.cpp.

References fawkes::Aspect::add_aspect(), and clips_features_.

◆ CLIPSFeatureAspect() [2/2]

fawkes::CLIPSFeatureAspect::CLIPSFeatureAspect ( const std::list< CLIPSFeature * >  features)

Constructor for multiple features.

Parameters
featuresCLIPS feature maintainers

Definition at line 88 of file clips_feature.cpp.

References fawkes::Aspect::add_aspect(), and clips_features_.

◆ ~CLIPSFeatureAspect()

fawkes::CLIPSFeatureAspect::~CLIPSFeatureAspect ( )
virtual

Virtual empty destructor.

Definition at line 95 of file clips_feature.cpp.

References clips_features_.

Member Data Documentation

◆ clips_features_

std::list<CLIPSFeature *> fawkes::CLIPSFeatureAspect::clips_features_
protected

The documentation for this class was generated from the following files: