22 #include "event_trigger.h" 24 #include "event_trigger_manager.h" 26 #include <core/exception.h> 39 const std::string & ns,
40 const boost::function<
void(mongo::BSONObj)> &callback)
41 : oplog_query(oplog_query), ns(ns), ns_db(
EventTriggerManager::get_db_name(ns)), callback(callback)
48 EventTrigger::~EventTrigger()
Manager to realize triggers on events in the robot memory.
Base class for exceptions in Fawkes.
EventTrigger(mongo::Query oplog_query, const std::string &ns, const boost::function< void(mongo::BSONObj)> &callback)
Constructor.