INET Framework for OMNeT++/OMNEST
|
Class generated from inet/applications/pingapp/PingPayload.msg:30
by nedtool.
More...
#include <PingPayload_m.h>
Public Member Functions | |
PingPayload (const char *name=nullptr, short kind=0) | |
PingPayload (const PingPayload &other) | |
virtual | ~PingPayload () |
PingPayload & | operator= (const PingPayload &other) |
virtual PingPayload * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual long | getOriginatorId () const |
virtual void | setOriginatorId (long originatorId) |
virtual long | getSeqNo () const |
virtual void | setSeqNo (long seqNo) |
virtual void | setDataArraySize (unsigned int size) |
virtual unsigned int | getDataArraySize () const |
virtual unsigned char | getData (unsigned int k) const |
virtual void | setData (unsigned int k, unsigned char data) |
Protected Member Functions | |
bool | operator== (const PingPayload &) |
Protected Attributes | |
long | originatorId |
long | seqNo |
unsigned char * | data |
unsigned int | data_arraysize |
Private Member Functions | |
void | copy (const PingPayload &other) |
Class generated from inet/applications/pingapp/PingPayload.msg:30
by nedtool.
// // Represents payload in an ICMP/ICMPv6 Echo Request/Reply. // // TODO: move originator id and sequence number to ICMPMessage and use an ICMPControlInfo packet PingPayload { long originatorId; // sender module id long seqNo; // sequence number unsigned char data[]; }
inet::PingPayload::PingPayload | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::PingPayload::PingPayload | ( | const PingPayload & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
Referenced by inet::serializer::ICMPSerializer::serialize().
|
virtual |
Referenced by inet::serializer::ICMPSerializer::serialize().
|
virtual |
|
virtual |
PingPayload& inet::PingPayload::operator= | ( | const PingPayload & | other | ) |
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |