EMANE  1.2.1
EMANE::EventServiceProvider Class Referenceabstract

Event service provider interface. More...

#include <eventserviceprovider.h>

Inheritance diagram for EMANE::EventServiceProvider:
EMANE::EventServiceProxy

Public Member Functions

virtual ~EventServiceProvider ()
 
virtual void sendEvent (NEMId nemId, const Event &event)=0
 
virtual void sendEvent (NEMId nemId, EventId eventId, const Serialization &serialization)=0
 

Protected Member Functions

 EventServiceProvider ()
 

Detailed Description

Event service provider interface.

Definition at line 48 of file eventserviceprovider.h.

Constructor & Destructor Documentation

◆ ~EventServiceProvider()

virtual EMANE::EventServiceProvider::~EventServiceProvider ( )
inlinevirtual

Destroys an instance

Definition at line 54 of file eventserviceprovider.h.

◆ EventServiceProvider()

EMANE::EventServiceProvider::EventServiceProvider ( )
inlineprotected

Definition at line 78 of file eventserviceprovider.h.

Member Function Documentation

◆ sendEvent() [1/2]

virtual void EMANE::EventServiceProvider::sendEvent ( NEMId  nemId,
const Event event 
)
pure virtual

Send an event

Parameters
nemIdId of destination NEM 0 for all NEMs in a platform
eventThe event object

Implemented in EMANE::EventServiceProxy.

◆ sendEvent() [2/2]

virtual void EMANE::EventServiceProvider::sendEvent ( NEMId  nemId,
EventId  eventId,
const Serialization serialization 
)
pure virtual

Send an event

Parameters
nemIdId of destination NEM 0 for all NEMs in a platform
eventIdThe event id
serializationSerialized event object state

Implemented in EMANE::EventServiceProxy.


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