InspIRCd  3.0
Public Member Functions | Static Public Attributes | Friends | List of all members
Events::ModuleEventListener Class Reference

#include <event.h>

Inheritance diagram for Events::ModuleEventListener:
dynamic_reference_base::CaptureHook ClientProtocol::EventHook ClientProtocol::MessageTagProvider

Public Member Functions

 ModuleEventListener (Module *mod, const std::string &eventid, unsigned int eventprio=DefaultPriority)
 

Static Public Attributes

static const unsigned int DefaultPriority = 100
 

Friends

struct ModuleEventProvider::Comp
 

Detailed Description

Base class for abstract classes describing cross-module events. Subscribers should NOT inherit directly from this class.

Constructor & Destructor Documentation

◆ ModuleEventListener()

Events::ModuleEventListener::ModuleEventListener ( Module mod,
const std::string &  eventid,
unsigned int  eventprio = DefaultPriority 
)
inline

Constructor

Parameters
modModule subscribing
eventidIdentifier of the event to subscribe to
eventprioThe priority to give this event listener

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