EMANE
1.2.1
|
A pathloss event is used to set the pathloss from one or more transmitting NEMs to a receiving NEM. More...
#include <pathlossevent.h>
Public Types | |
enum | { IDENTIFIER = EMANE_EVENT_PATHLOSS } |
Public Member Functions | |
PathlossEvent (const Serialization &serialization) | |
PathlossEvent (const Pathlosses &pathlosses) | |
PathlossEvent (const PathlossEvent &rhs) | |
PathlossEvent & | operator= (const PathlossEvent &rhs) |
PathlossEvent (PathlossEvent &&rval) | |
PathlossEvent & | operator= (PathlossEvent &&rval) |
~PathlossEvent () | |
Serialization | serialize () const override |
const Pathlosses & | getPathlosses () const |
EventId | getEventId () const |
A pathloss event is used to set the pathloss from one or more transmitting NEMs to a receiving NEM.
Definition at line 52 of file pathlossevent.h.
anonymous enum |
Enumerator | |
---|---|
IDENTIFIER |
Definition at line 118 of file pathlossevent.h.
EMANE::Events::PathlossEvent::PathlossEvent | ( | const Serialization & | serialization | ) |
Creates a PathlossEvent instance from a serialization
serialization | Message serialization |
SerializationException | when a valid message cannot be de-serialized |
Definition at line 52 of file pathlossevent.cc.
EMANE::Events::PathlossEvent::PathlossEvent | ( | const Pathlosses & | pathlosses | ) |
Creates a PathlossEvent instance
pathlosses | One or more PathlossEntry instances |
Definition at line 74 of file pathlossevent.cc.
EMANE::Events::PathlossEvent::PathlossEvent | ( | const PathlossEvent & | rhs | ) |
Creates a PathlossEvent by copy
rhs | Instance to copy |
Definition at line 78 of file pathlossevent.cc.
EMANE::Events::PathlossEvent::PathlossEvent | ( | PathlossEvent && | rval | ) |
Creates a PathlossEvent by moving
rval | Instance to move |
Definition at line 88 of file pathlossevent.cc.
EMANE::Events::PathlossEvent::~PathlossEvent | ( | ) |
Destroys an instance
Definition at line 101 of file pathlossevent.cc.
|
inlineinherited |
const EMANE::Events::Pathlosses & EMANE::Events::PathlossEvent::getPathlosses | ( | ) | const |
Gets the transmitter NEM pathloss entries
Definition at line 103 of file pathlossevent.cc.
EMANE::Events::PathlossEvent & EMANE::Events::PathlossEvent::operator= | ( | const PathlossEvent & | rhs | ) |
Sets a PathlossEvent by copy
rhs | Instance to copy |
Definition at line 82 of file pathlossevent.cc.
EMANE::Events::PathlossEvent & EMANE::Events::PathlossEvent::operator= | ( | PathlossEvent && | rval | ) |
Sets a PathlossEvent by moving
rval | Instance to move |
Definition at line 95 of file pathlossevent.cc.
|
overridevirtual |
Serializes the instance
SerializationException | if the instance cannot be serialized |
Reimplemented from EMANE::Serializable.
Definition at line 108 of file pathlossevent.cc.