|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/ted/LinkStatePacket.msg:33 by nedtool.
More...
#include <LinkStatePacket_m.h>
Public Member Functions | |
| LinkStateMsg (const char *name=nullptr, short kind=0) | |
| LinkStateMsg (const LinkStateMsg &other) | |
| virtual | ~LinkStateMsg () |
| LinkStateMsg & | operator= (const LinkStateMsg &other) |
| virtual LinkStateMsg * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual void | setLinkInfoArraySize (unsigned int size) |
| virtual unsigned int | getLinkInfoArraySize () const |
| virtual TELinkStateInfo & | getLinkInfo (unsigned int k) |
| virtual const TELinkStateInfo & | getLinkInfo (unsigned int k) const |
| virtual void | setLinkInfo (unsigned int k, const TELinkStateInfo &linkInfo) |
| virtual bool | getRequest () const |
| virtual void | setRequest (bool request) |
| virtual int | getCommand () const |
| virtual void | setCommand (int command) |
Protected Member Functions | |
| bool | operator== (const LinkStateMsg &) |
Protected Attributes | |
| TELinkStateInfo * | linkInfo |
| unsigned int | linkInfo_arraysize |
| bool | request |
| int | command |
Private Member Functions | |
| void | copy (const LinkStateMsg &other) |
Class generated from inet/networklayer/ted/LinkStatePacket.msg:33 by nedtool.
// // Packet for disseminating link state information (~TELinkStateInfo[]) by the // ~LinkStateRouting module which implements a minimalistic link state routing // protocol. // packet LinkStateMsg { TELinkStateInfo linkInfo[];
bool request = false; // if true, receiver is expected to send back its own link state database to the sender –FIXME really needed?
// bool ack = false; – apparently unused, removed – TODO check with Vojtaint command = LINK_STATE_MESSAGE; // FIXME maybe do without this... }
| inet::LinkStateMsg::LinkStateMsg | ( | const char * | name = nullptr, |
| short | kind = 0 |
||
| ) |
| inet::LinkStateMsg::LinkStateMsg | ( | const LinkStateMsg & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
|
virtual |
Referenced by inet::LinkStateRouting::processLINK_STATE_MESSAGE().
|
inlinevirtual |
Referenced by getLinkInfo().
|
virtual |
|
virtual |
Referenced by inet::LinkStateRouting::processLINK_STATE_MESSAGE().
| LinkStateMsg& inet::LinkStateMsg::operator= | ( | const LinkStateMsg & | other | ) |
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
Referenced by inet::LinkStateRouting::sendToPeer().
|
virtual |
Referenced by inet::LinkStateRouting::sendToPeer().
|
virtual |
Referenced by inet::LinkStateRouting::sendToPeer().
|
protected |
|
protected |
|
protected |
|
protected |