INET Framework for OMNeT++/OMNEST
|
Class generated from inet/routing/gpsr/GPSR.msg:52
by nedtool.
More...
#include <GPSR_m.h>
Protected Member Functions | |
bool | operator== (const GPSROption &) |
Protected Member Functions inherited from inet::TLVOptionBase | |
bool | operator== (const TLVOptionBase &) |
Protected Attributes | |
GPSRForwardingMode | routingMode |
Coord | destinationPosition |
Coord | perimeterRoutingStartPosition |
Coord | perimeterRoutingForwardPosition |
L3Address | currentFaceFirstSenderAddress |
L3Address | currentFaceFirstReceiverAddress |
L3Address | senderAddress |
Protected Attributes inherited from inet::TLVOptionBase | |
short | type |
short | length |
Private Member Functions | |
void | copy (const GPSROption &other) |
Class generated from inet/routing/gpsr/GPSR.msg:52
by nedtool.
// // The GPSROption is used to add extra routing information for network datagrams. // // For more information, see the GPSR paper // http://www.eecs.harvard.edu/~htk/publication/2000-mobi-karp-kung.pdf // class GPSROption extends TLVOptionBase { GPSRForwardingMode routingMode = (GPSRForwardingMode)-1; Coord destinationPosition; // D Coord perimeterRoutingStartPosition; // Lp Coord perimeterRoutingForwardPosition; // Lf L3Address currentFaceFirstSenderAddress; // e0 L3Address currentFaceFirstReceiverAddress; // e0 L3Address senderAddress; // TODO: this field is not strictly needed by GPSR (should be eliminated) }
inet::GPSROption::GPSROption | ( | ) |
inet::GPSROption::GPSROption | ( | const GPSROption & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::TLVOptionBase.
|
virtual |
Referenced by inet::GPSR::findPerimeterRoutingNextHop().
|
inlinevirtual |
Referenced by getCurrentFaceFirstReceiverAddress().
|
virtual |
Referenced by inet::GPSR::findPerimeterRoutingNextHop().
|
inlinevirtual |
Referenced by getCurrentFaceFirstSenderAddress().
|
virtual |
Referenced by inet::GPSR::findGreedyRoutingNextHop(), and inet::GPSR::findPerimeterRoutingNextHop().
|
inlinevirtual |
Referenced by getDestinationPosition().
|
virtual |
|
inlinevirtual |
Referenced by getPerimeterRoutingForwardPosition().
|
virtual |
Referenced by inet::GPSR::findPerimeterRoutingNextHop().
|
inlinevirtual |
Referenced by getPerimeterRoutingStartPosition().
|
virtual |
Referenced by inet::GPSR::findNextHop().
|
inlinevirtual |
Referenced by getRoutingMode().
|
virtual |
Referenced by inet::GPSR::getSenderNeighborAddress().
|
inlinevirtual |
Referenced by getSenderAddress().
GPSROption& inet::GPSROption::operator= | ( | const GPSROption & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::TLVOptionBase.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::TLVOptionBase.
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::GPSR::findGreedyRoutingNextHop(), and inet::GPSR::findPerimeterRoutingNextHop().
|
virtual |
Referenced by inet::GPSR::findGreedyRoutingNextHop(), and inet::GPSR::findPerimeterRoutingNextHop().
|
virtual |
Referenced by inet::GPSR::createGpsrOption().
|
virtual |
Referenced by inet::GPSR::findPerimeterRoutingNextHop().
|
virtual |
Referenced by inet::GPSR::findGreedyRoutingNextHop(), and inet::GPSR::findPerimeterRoutingNextHop().
|
virtual |
|
virtual |
Referenced by inet::GPSR::routeDatagram().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |