Fawkes API  Fawkes Development Version
EventTrigger Class Reference

Class holding all information about an EventTrigger. More...

#include <event_trigger.h>

Public Member Functions

 EventTrigger (mongo::Query oplog_query, const std::string &ns, const boost::function< void(mongo::BSONObj)> &callback)
 Constructor. More...
 

Friends

class EventTriggerManager
 Information access for Manager. More...
 

Detailed Description

Class holding all information about an EventTrigger.

Author
Frederik Zwilling

Definition at line 32 of file event_trigger.h.

Constructor & Destructor Documentation

◆ EventTrigger()

EventTrigger::EventTrigger ( mongo::Query  oplog_query,
const std::string &  ns,
const boost::function< void(mongo::BSONObj)> &  callback 
)

Constructor.

Parameters
oplog_queryThe Query on the oplog, which defines which database update invokes the trigger
nsnamespace of the trigger, format db.collection
callbackReference to callback function

Definition at line 38 of file event_trigger.cpp.

Friends And Related Function Documentation

◆ EventTriggerManager

friend class EventTriggerManager
friend

Information access for Manager.

Definition at line 35 of file event_trigger.h.


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