Fawkes API  Fawkes Development Version
PDDLCLIPSFeature Class Reference

Provide a PDDL parser to a CLIPS environment. More...

#include "clips_pddl_parser_feature.h"

Inheritance diagram for PDDLCLIPSFeature:

Public Member Functions

 PDDLCLIPSFeature ()
 Initialize the CLIPS feature. More...
 
void init_logger (fawkes::Logger *logger)
 Initialize the looger to use. More...
 
virtual void clips_context_init (const std::string &env_name, fawkes::LockPtr< CLIPS::Environment > &clips)
 Initialize the context and add a parse-pddl-domain CLIPS function. More...
 
virtual void clips_context_destroyed (const std::string &env_name)
 Clean up a context. More...
 
- Public Member Functions inherited from fawkes::CLIPSFeature
 CLIPSFeature (const char *feature_name)
 Constructor. More...
 
virtual ~CLIPSFeature ()
 Virtual empty constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from fawkes::CLIPSFeature
const std::string clips_feature_name
 CLIPS feature name. More...
 

Detailed Description

Provide a PDDL parser to a CLIPS environment.

Author
Till Hofmann

Definition at line 37 of file clips_pddl_parser_feature.h.

Constructor & Destructor Documentation

◆ PDDLCLIPSFeature()

PDDLCLIPSFeature::PDDLCLIPSFeature ( )

Initialize the CLIPS feature.

Definition at line 43 of file clips_pddl_parser_feature.cpp.

Member Function Documentation

◆ clips_context_destroyed()

void PDDLCLIPSFeature::clips_context_destroyed ( const std::string &  env_name)
virtual

Clean up a context.

Parameters
env_nameThe name of the environment to clean.

Implements fawkes::CLIPSFeature.

Definition at line 76 of file clips_pddl_parser_feature.cpp.

◆ clips_context_init()

void PDDLCLIPSFeature::clips_context_init ( const std::string &  env_name,
fawkes::LockPtr< CLIPS::Environment > &  clips 
)
virtual

Initialize the context and add a parse-pddl-domain CLIPS function.

Parameters
env_nameThe name of the environment.
clipsThe CLIPS environment to add the parser functionality to.

Implements fawkes::CLIPSFeature.

Definition at line 61 of file clips_pddl_parser_feature.cpp.

◆ init_logger()

void PDDLCLIPSFeature::init_logger ( fawkes::Logger logger)

Initialize the looger to use.

Parameters
loggerThe logger to use for logging in the feature

Definition at line 51 of file clips_pddl_parser_feature.cpp.

Referenced by ClipsPddlParserThread::init().


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