RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <ControlPDU_m.h>
Public Member Functions | |
ControlPDU (const char *name=nullptr, int kind=0) | |
ControlPDU (const ControlPDU &other) | |
virtual | ~ControlPDU () |
ControlPDU & | operator= (const ControlPDU &other) |
virtual ControlPDU * | dup () const |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) |
![]() | |
PDU (const char *name=NULL, int kind=0) | |
PDU (const PDU &other) | |
PDU & | operator= (const PDU &other) |
unsigned int | getHeaderSize () |
unsigned int | getSize () |
![]() | |
virtual | ~PDU_Base () |
virtual const char * | getDisplayString () const |
virtual void | setDisplayString (const char *displayString) |
virtual unsigned int | getVersion () const |
virtual void | setVersion (unsigned int version) |
virtual Address & | getSrcAddr () |
virtual const Address & | getSrcAddr () const |
virtual void | setSrcAddr (const Address &srcAddr) |
virtual Address & | getDstAddr () |
virtual const Address & | getDstAddr () const |
virtual void | setDstAddr (const Address &dstAddr) |
virtual APN & | getSrcApn () |
virtual const APN & | getSrcApn () const |
virtual void | setSrcApn (const APN &srcApn) |
virtual APN & | getDstApn () |
virtual const APN & | getDstApn () const |
virtual void | setDstApn (const APN &dstApn) |
virtual ConnectionId & | getConnId () |
virtual const ConnectionId & | getConnId () const |
virtual void | setConnId (const ConnectionId &connId) |
virtual int | getType () const |
virtual void | setType (int type) |
virtual int | getFlags () const |
virtual void | setFlags (int flags) |
virtual unsigned int | getPduLen () const |
virtual void | setPduLen (unsigned int pduLen) |
virtual unsigned int | getSeqNum () const |
virtual void | setSeqNum (unsigned int seqNum) |
virtual unsigned int | getHopCount () const |
virtual void | setHopCount (unsigned int hopCount) |
Protected Member Functions | |
bool | operator== (const ControlPDU &) |
![]() | |
bool | operator== (const PDU_Base &) |
PDU_Base (const char *name=nullptr, int kind=0) | |
PDU_Base (const PDU_Base &other) | |
PDU_Base & | operator= (const PDU_Base &other) |
Private Member Functions | |
void | copy (const ControlPDU &other) |
Additional Inherited Members | |
![]() | |
::omnetpp::opp_string | displayString |
unsigned int | version |
Address | srcAddr |
Address | dstAddr |
APN | srcApn |
APN | dstApn |
ConnectionId | connId |
int | type |
int | flags |
unsigned int | pduLen |
unsigned int | seqNum |
unsigned int | hopCount |
Class generated from DIF/EFCP/DTCP/ControlPDU.msg:28
by nedtool.
packet ControlPDU extends PDU { type = -1; }
Definition at line 31 of file ControlPDU_m.h.
ControlPDU::ControlPDU | ( | const char * | name = nullptr , |
int | kind = 0 |
||
) |
Definition at line 166 of file ControlPDU_m.cc.
Referenced by dup().
ControlPDU::ControlPDU | ( | const ControlPDU & | other | ) |
Definition at line 171 of file ControlPDU_m.cc.
|
virtual |
Definition at line 176 of file ControlPDU_m.cc.
|
private |
Definition at line 188 of file ControlPDU_m.cc.
Referenced by ControlPDU(), and operator=().
|
inlinevirtual |
Reimplemented from PDU.
Reimplemented in RendezvousPDU, ControlAckPDU, SelectiveNackPDU, SelectiveAckPDU, SelectiveNackFlowPDU, SelectiveAckFlowPDU, SelectiveNAckFlow, FlowControlOnlyPDU, NackFlowPDU, AckFlowPDU, NackOnlyPDU, AckOnlyPDU, FlowControlPDU, and NAckPDU.
Definition at line 47 of file ControlPDU_m.h.
ControlPDU & ControlPDU::operator= | ( | const ControlPDU & | other | ) |
Definition at line 180 of file ControlPDU_m.cc.
|
protected |
|
virtual |
Reimplemented from PDU_Base.
Reimplemented in RendezvousPDU, ControlAckPDU, SelectiveNackPDU, SelectiveAckPDU, SelectiveNackFlowPDU, SelectiveAckFlowPDU, SelectiveNAckFlow, FlowControlOnlyPDU, NackFlowPDU, AckFlowPDU, NackOnlyPDU, AckOnlyPDU, FlowControlPDU, and NAckPDU.
Definition at line 192 of file ControlPDU_m.cc.
Referenced by doParsimPacking(), NAckPDU::parsimPack(), and ControlAckPDU::parsimPack().
|
virtual |
Reimplemented from PDU_Base.
Reimplemented in RendezvousPDU, ControlAckPDU, SelectiveNackPDU, SelectiveAckPDU, SelectiveNackFlowPDU, SelectiveAckFlowPDU, SelectiveNAckFlow, FlowControlOnlyPDU, NackFlowPDU, AckFlowPDU, NackOnlyPDU, AckOnlyPDU, FlowControlPDU, and NAckPDU.
Definition at line 197 of file ControlPDU_m.cc.
Referenced by doParsimUnpacking(), NAckPDU::parsimUnpack(), and ControlAckPDU::parsimUnpack().