Fawkes API  Fawkes Development Version
fawkes::GologppDispatcherAspect Class Reference

An aspect that provides access to the Golog++ Action Executor Dispatcher. More...

Inheritance diagram for fawkes::GologppDispatcherAspect:

Public Member Functions

 GologppDispatcherAspect ()
 Constructor. More...
 
void init_GologppDispatcherAspect (gpp::ActionExecutorDispatcher *dispatcher)
 Init GologppDispatcherAspect. More...
 
void finalize_GologppDispatcherAspect ()
 Finalize the GologppDispatcherAspect. 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

gpp::ActionExecutorDispatchergologpp_dispatcher
 A pointer to the dispatcher that the aspect provides. 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

An aspect that provides access to the Golog++ Action Executor Dispatcher.

Use this if you implement an executor for Golog++. Your action executor should register itself by calling gpp::ActionExecutorDispatcher::register_executor().

Author
Till Hofmann
See also
gpp::ActionExecutorDispatcher
gpp::ActionExecutor

Definition at line 43 of file action_executor_dispatcher.h.

Constructor & Destructor Documentation

◆ GologppDispatcherAspect()

fawkes::GologppDispatcherAspect::GologppDispatcherAspect ( )

Constructor.

Definition at line 80 of file action_executor_dispatcher.cpp.

References fawkes::Aspect::add_aspect().

Member Function Documentation

◆ finalize_GologppDispatcherAspect()

void fawkes::GologppDispatcherAspect::finalize_GologppDispatcherAspect ( )

◆ init_GologppDispatcherAspect()

void fawkes::GologppDispatcherAspect::init_GologppDispatcherAspect ( gpp::ActionExecutorDispatcher dispatcher)

Init GologppDispatcherAspect.

Initialize the aspect with the given dispatcher instance.

Parameters
dispatcherThe dispatcher to use

Definition at line 90 of file action_executor_dispatcher.cpp.

References gologpp_dispatcher.

Referenced by fawkes::GologppDispatcherAspectIniFin::init().

Member Data Documentation

◆ gologpp_dispatcher

fawkes::GologppDispatcherAspect::gologpp_dispatcher
protected

A pointer to the dispatcher that the aspect provides.

Use this dispatcher to register your executor.

Definition at line 51 of file action_executor_dispatcher.h.

Referenced by init_GologppDispatcherAspect().


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