EMANE  1.2.1
EMANE::EventRegistrar Class Referenceabstract

The EventRegistrar allows NEM layers to register to receive events. Only those events registered will be received. More...

#include <eventregistrar.h>

Inheritance diagram for EMANE::EventRegistrar:
EMANE::EventRegistrarProxy

Public Member Functions

virtual ~EventRegistrar ()
 
virtual void registerEvent (EventId eventId)=0
 

Protected Member Functions

 EventRegistrar ()=default
 

Detailed Description

The EventRegistrar allows NEM layers to register to receive events. Only those events registered will be received.

Note
Events are addressed to all NEMs or a specific NEM. Registered events will be delivered when the event is directly addressed to the registered NEM or when the event is addressed to all NEMs.
Registration may only occur during Component::initialize()

Definition at line 54 of file eventregistrar.h.

Constructor & Destructor Documentation

◆ ~EventRegistrar()

virtual EMANE::EventRegistrar::~EventRegistrar ( )
inlinevirtual

Destroys an instance

Definition at line 60 of file eventregistrar.h.

◆ EventRegistrar()

EMANE::EventRegistrar::EventRegistrar ( )
protecteddefault

Member Function Documentation

◆ registerEvent()

virtual void EMANE::EventRegistrar::registerEvent ( EventId  eventId)
pure virtual

Registers to receive an event

Parameters
eventIdId of the desired event

Implemented in EMANE::EventRegistrarProxy.


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