EMANE  1.2.1
EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent Class Reference

#include <onehopneighborsevent.h>

Inheritance diagram for EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent:
EMANE::Event EMANE::Serializable

Public Types

enum  { IDENTIFIER = EMANE_EVENT_IEEE80211ABG_ONEHOP_NEIGHBORS }
 

Public Member Functions

 OneHopNeighborsEvent (const std::string &sSerialization)
 
 OneHopNeighborsEvent (NEMId id, const NbrSet &neighbors)
 
 ~OneHopNeighborsEvent ()
 
Serialization serialize () const override
 
const NbrSet & getNeighbors () const
 
NEMId getEventSource () const
 
EventId getEventId () const
 

Detailed Description

Definition at line 48 of file onehopneighborsevent.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDENTIFIER 

Definition at line 66 of file onehopneighborsevent.h.

Constructor & Destructor Documentation

◆ OneHopNeighborsEvent() [1/2]

EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent::OneHopNeighborsEvent ( const std::string &  sSerialization)
Exceptions
SerializationException

Definition at line 61 of file onehopneighborsevent.cc.

◆ OneHopNeighborsEvent() [2/2]

EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent::OneHopNeighborsEvent ( NEMId  id,
const NbrSet &  neighbors 
)

Definition at line 81 of file onehopneighborsevent.cc.

◆ ~OneHopNeighborsEvent()

EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent::~OneHopNeighborsEvent ( )

Definition at line 87 of file onehopneighborsevent.cc.

Member Function Documentation

◆ getEventId()

EventId EMANE::Event::getEventId ( ) const
inlineinherited

Gets the event id

Returns
event id

Definition at line 59 of file event.h.

◆ getEventSource()

EMANE::NEMId EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent::getEventSource ( ) const

Definition at line 97 of file onehopneighborsevent.cc.

◆ getNeighbors()

const EMANE::Models::IEEE80211ABG::NbrSet & EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent::getNeighbors ( ) const

Definition at line 91 of file onehopneighborsevent.cc.

◆ serialize()

EMANE::Serialization EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent::serialize ( ) const
overridevirtual

Gets the serialized form of the object

Returns
serialization
Exceptions
SerializationException
Note
Most objects use Google Protocol Buffers to perform serialization. This is why the Serialization type is a std::string. The serialized data is binary, non-printable data. The std::string just provides a simple API.
https://developers.google.com/protocol-buffers/

Reimplemented from EMANE::Serializable.

Definition at line 104 of file onehopneighborsevent.cc.


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