EMANE
1.2.1
|
Comm Effect events are used to set asynchronous link characteristics from one or more transmitting NEMs to the receiving NEM. More...
#include <commeffectevent.h>
Public Types | |
enum | { IDENTIFIER = EMANE_EVENT_COMMEFFECT } |
Public Member Functions | |
CommEffectEvent (const Serialization &serialization) | |
CommEffectEvent (const CommEffects &commEffects) | |
CommEffectEvent (const CommEffectEvent &rhs) | |
CommEffectEvent & | operator= (const CommEffectEvent &rhs) |
CommEffectEvent (CommEffectEvent &&rval) | |
CommEffectEvent & | operator= (CommEffectEvent &&rval) |
~CommEffectEvent () | |
Serialization | serialize () const override |
const CommEffects & | getCommEffects () const |
EventId | getEventId () const |
Comm Effect events are used to set asynchronous link characteristics from one or more transmitting NEMs to the receiving NEM.
Definition at line 53 of file commeffectevent.h.
anonymous enum |
Enumerator | |
---|---|
IDENTIFIER |
Definition at line 120 of file commeffectevent.h.
EMANE::Events::CommEffectEvent::CommEffectEvent | ( | const Serialization & | serialization | ) |
Creates a CommEffectEvent instance from a serialization
serialization | Message serialization |
SerializationException | when a valid message cannot be de-serialized |
Definition at line 52 of file commeffectevent.cc.
EMANE::Events::CommEffectEvent::CommEffectEvent | ( | const CommEffects & | commEffects | ) |
Creates a CommEffectEvent instance
commEffects | Comm Effect link characteristics |
Definition at line 79 of file commeffectevent.cc.
EMANE::Events::CommEffectEvent::CommEffectEvent | ( | const CommEffectEvent & | rhs | ) |
Creates a CommEffectEvent by copy
rhs | Instance to copy |
Definition at line 83 of file commeffectevent.cc.
EMANE::Events::CommEffectEvent::CommEffectEvent | ( | CommEffectEvent && | rval | ) |
Creates a CommEffectEvent by moving
rval | Instance to move |
Definition at line 93 of file commeffectevent.cc.
EMANE::Events::CommEffectEvent::~CommEffectEvent | ( | ) |
Destroys an instance
Definition at line 107 of file commeffectevent.cc.
const EMANE::Events::CommEffects & EMANE::Events::CommEffectEvent::getCommEffects | ( | ) | const |
Gets the Comm Effect link characteristics
Definition at line 110 of file commeffectevent.cc.
|
inlineinherited |
EMANE::Events::CommEffectEvent & EMANE::Events::CommEffectEvent::operator= | ( | const CommEffectEvent & | rhs | ) |
Sets a CommEffectEvent by copy
rhs | Instance to copy |
Definition at line 87 of file commeffectevent.cc.
EMANE::Events::CommEffectEvent & EMANE::Events::CommEffectEvent::operator= | ( | CommEffectEvent && | rval | ) |
Sets a CommEffectEvent by moving
rval | Instance to moving |
Definition at line 101 of file commeffectevent.cc.
|
overridevirtual |
Serializes the instance
SerializationException | if the instance cannot be serialized |
Reimplemented from EMANE::Serializable.
Definition at line 115 of file commeffectevent.cc.