INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/xmipv6/MobilityHeader.msg:173
by nedtool.
More...
#include <MobilityHeader_m.h>
Protected Member Functions | |
bool | operator== (const HomeAddressOption_Base &) |
HomeAddressOption_Base () | |
HomeAddressOption_Base (const HomeAddressOption_Base &other) | |
HomeAddressOption_Base & | operator= (const HomeAddressOption_Base &other) |
Protected Member Functions inherited from inet::IPv6DestinationOptionsHeader | |
bool | operator== (const IPv6DestinationOptionsHeader &) |
Protected Member Functions inherited from inet::IPv6ExtensionHeader | |
bool | operator== (const IPv6ExtensionHeader &) |
Protected Attributes | |
IPv6Address | homeAddress |
Protected Attributes inherited from inet::IPv6DestinationOptionsHeader | |
TLVOptions | tlvOptions |
Protected Attributes inherited from inet::IPv6ExtensionHeader | |
short | extensionType |
short | byteLength |
Private Member Functions | |
void | copy (const HomeAddressOption_Base &other) |
Class generated from inet/networklayer/xmipv6/MobilityHeader.msg:173
by nedtool.
/////////////////////////////////////////// // 17.10.07 - CB /////////////////////////////////////////// packet HomeAddressOption extends IPv6DestinationOptionsHeader { @customize(true); IPv6Address homeAddress; }
HomeAddressOption_Base is only useful if it gets subclassed, and HomeAddressOption is derived from it. The minimum code to be written for HomeAddressOption is the following:
class INET_API HomeAddressOption : public HomeAddressOption_Base { private: void copy(const HomeAddressOption& other) { ... }
public: HomeAddressOption() : HomeAddressOption_Base() {} HomeAddressOption(const HomeAddressOption& other) : HomeAddressOption_Base(other) {copy(other);} HomeAddressOption& operator=(const HomeAddressOption& other) {if (this==&other) return *this; HomeAddressOption_Base::operator=(other); copy(other); return *this;} // ADD CODE HERE to redefine and implement pure virtual functions from HomeAddressOption_Base };
|
protected |
|
protected |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::IPv6DestinationOptionsHeader.
Reimplemented in inet::HomeAddressOption.
|
virtual |
Referenced by inet::xMIPv6::processHoAOpt().
|
inlinevirtual |
Referenced by getHomeAddress().
|
protected |
Referenced by inet::HomeAddressOption::operator=().
|
protected |
|
overridevirtual |
Reimplemented from inet::IPv6DestinationOptionsHeader.
|
overridevirtual |
Reimplemented from inet::IPv6DestinationOptionsHeader.
|
virtual |
Referenced by inet::IPv6Tunneling::encapsulateDatagram().
|
protected |