EMANE
1.2.1
|
A location event is usd to set the position, orientation and velocity information for one or more NEMs. More...
#include <locationevent.h>
Public Types | |
enum | { IDENTIFIER = EMANE_EVENT_LOCATION } |
Public Member Functions | |
LocationEvent (const Serialization &serialization) | |
LocationEvent (const Locations &locations) | |
LocationEvent (const LocationEvent &rhs) | |
LocationEvent & | operator= (const LocationEvent &rhs) |
LocationEvent (LocationEvent &&rval) | |
LocationEvent & | operator= (LocationEvent &&rval) |
~LocationEvent () | |
Serialization | serialize () const override |
const Locations & | getLocations () const |
EventId | getEventId () const |
A location event is usd to set the position, orientation and velocity information for one or more NEMs.
Definition at line 52 of file locationevent.h.
anonymous enum |
Enumerator | |
---|---|
IDENTIFIER |
Definition at line 118 of file locationevent.h.
EMANE::Events::LocationEvent::LocationEvent | ( | const Serialization & | serialization | ) |
Creates a LocationEvent instance from a serialization
serialization | Message serialization |
SerializationException | when a valid message cannot be de-serialized |
Definition at line 52 of file locationevent.cc.
EMANE::Events::LocationEvent::LocationEvent | ( | const Locations & | locations | ) |
Creates a LocationEvent instance
locations | One or more Location instances |
Definition at line 106 of file locationevent.cc.
EMANE::Events::LocationEvent::LocationEvent | ( | const LocationEvent & | rhs | ) |
Creates a LocationEvent by copy
rhs | Instance to copy |
Definition at line 110 of file locationevent.cc.
EMANE::Events::LocationEvent::LocationEvent | ( | LocationEvent && | rval | ) |
Creates a LocationEvent by moving
rval | Instance to move |
Definition at line 120 of file locationevent.cc.
EMANE::Events::LocationEvent::~LocationEvent | ( | ) |
Destroys an instance
Definition at line 133 of file locationevent.cc.
|
inlineinherited |
const EMANE::Events::Locations & EMANE::Events::LocationEvent::getLocations | ( | ) | const |
EMANE::Events::LocationEvent & EMANE::Events::LocationEvent::operator= | ( | const LocationEvent & | rhs | ) |
Sets a LocationEvent by copy
rhs | Instance to copy |
Definition at line 114 of file locationevent.cc.
EMANE::Events::LocationEvent & EMANE::Events::LocationEvent::operator= | ( | LocationEvent && | rval | ) |
Sets a LocationEvent by moving
rval | Instance to move |
Definition at line 127 of file locationevent.cc.
|
overridevirtual |
Serializes the instance
SerializationException | if the instance cannot be serialized |
Reimplemented from EMANE::Serializable.
Definition at line 140 of file locationevent.cc.