21 #ifndef FAWKES_GOLOGPP_ASPECT_ACTION_EXECUTOR_DISPATCHER_H
22 #define FAWKES_GOLOGPP_ASPECT_ACTION_EXECUTOR_DISPATCHER_H
24 #include "../action_executor.h"
26 #include <aspect/aspect.h>
34 std::shared_ptr<ActionExecutor>
get_executor(std::shared_ptr<gologpp::Activity>);
38 std::vector<std::shared_ptr<ActionExecutor>> action_executors_;
Fawkes aspect base class.
An aspect that provides access to the Golog++ Action Executor Dispatcher.
void init_GologppDispatcherAspect(gpp::ActionExecutorDispatcher *dispatcher)
Init GologppDispatcherAspect.
void finalize_GologppDispatcherAspect()
Finalize the GologppDispatcherAspect.
GologppDispatcherAspect()
Constructor.
gpp::ActionExecutorDispatcher * gologpp_dispatcher
A pointer to the dispatcher that the aspect provides.
Dispatch an activity to a number of registered executors by checking all registered executors subsequ...
std::shared_ptr< ActionExecutor > get_executor(std::shared_ptr< gologpp::Activity >)
Determine the executor for a given activity.
void register_executor(std::shared_ptr< ActionExecutor > executor)
Register a new executor.
Fawkes library namespace.