INET Framework for OMNeT++/OMNEST
|
Class generated from inet/routing/gpsr/GPSR.msg:41
by nedtool.
More...
#include <GPSR_m.h>
Public Member Functions | |
GPSRBeacon (const char *name=nullptr, short kind=0) | |
GPSRBeacon (const GPSRBeacon &other) | |
virtual | ~GPSRBeacon () |
GPSRBeacon & | operator= (const GPSRBeacon &other) |
virtual GPSRBeacon * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual L3Address & | getAddress () |
virtual const L3Address & | getAddress () const |
virtual void | setAddress (const L3Address &address) |
virtual Coord & | getPosition () |
virtual const Coord & | getPosition () const |
virtual void | setPosition (const Coord &position) |
Protected Member Functions | |
bool | operator== (const GPSRBeacon &) |
Protected Attributes | |
L3Address | address |
Coord | position |
Private Member Functions | |
void | copy (const GPSRBeacon &other) |
Class generated from inet/routing/gpsr/GPSR.msg:41
by nedtool.
// // The GPSR beacon packet is sent periodically by all GPSR routers to notify // the neighbors about the router's address and position. // packet GPSRBeacon { L3Address address; Coord position; }
inet::GPSRBeacon::GPSRBeacon | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::GPSRBeacon::GPSRBeacon | ( | const GPSRBeacon & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
Referenced by inet::GPSR::processBeacon(), and inet::GPSR::sendBeacon().
|
inlinevirtual |
Referenced by getAddress().
|
virtual |
Referenced by inet::GPSR::processBeacon(), and inet::GPSR::sendBeacon().
|
inlinevirtual |
Referenced by getPosition().
GPSRBeacon& inet::GPSRBeacon::operator= | ( | const GPSRBeacon & | other | ) |
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::GPSR::createBeacon().
|
virtual |
Referenced by inet::GPSR::createBeacon().
|
protected |
|
protected |