Fawkes API
Fawkes Development Version
|
23 #include "action_executor.h"
42 const std::string &cfg_prefix);
44 void start(std::shared_ptr<gologpp::Activity> activity)
override;
45 void stop(std::shared_ptr<gologpp::Grounding<gologpp::Action>> activity)
override;
51 std::string cfg_prefix_;
52 std::map<std::string, Interface *> open_interfaces_;
BBMessageActionExecutor(Logger *logger, BlackBoard *blackboard, Configuration *config, const std::string &cfg_prefix)
Constructor.
The BlackBoard abstract class.
virtual ~BBMessageActionExecutor()
Destructor.
Interface for configuration handling.
Fawkes library namespace.
bool can_execute_activity(std::shared_ptr< gologpp::Activity > activity) const override
Determine if this executor can execute the given activity.
void start(std::shared_ptr< gologpp::Activity > activity) override
Start the given activity.
void stop(std::shared_ptr< gologpp::Grounding< gologpp::Action >> activity) override
Stop the given activity.
A Golog++ action executor that sends a message to a blackboard interface.
Abstract class to execute a Golog++ activity.