22#ifndef FAWKES_SRC_PLUGINS_CLIPS_ROBOT_MEMORY_CLIPS_RM_TRIGGER_H_
23#define FAWKES_SRC_PLUGINS_CLIPS_ROBOT_MEMORY_CLIPS_RM_TRIGGER_H_
25#include <core/utils/lockptr.h>
26#include <logging/logger.h>
27#include <plugins/robot-memory/robot_memory.h>
29#include <bsoncxx/document/view.hpp>
46 void callback(
const bsoncxx::document::view &update);
50 std::string assert_name;
ClipsRmTrigger(std::string assert_name, RobotMemory *robot_memory, fawkes::LockPtr< CLIPS::Environment > &clips, fawkes::Logger *logger)
Constructor with references to objects of the plugin.
void callback(const bsoncxx::document::view &update)
Callback function for the trigger.
void set_trigger(EventTrigger *trigger)
Set the trigger object given by the robot memory.
Class holding all information about an EventTrigger.
Access to the robot memory based on mongodb.