|
RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <DataTransferPDU.h>
Public Member Functions | |
| DataTransferPDU (const char *name=NULL, int kind=0) | |
| DataTransferPDU (const DataTransferPDU &other) | |
| virtual DataTransferPDU * | dup () const |
| unsigned int | getSize () |
| UserDataFieldPtr & | getUserDataField () |
| void | setUserDataField (const UserDataFieldPtr &userDataField) |
| int | getSDUGap (const DataTransferPDU *other) |
| unsigned int | getSDUSeqNum () const |
| void | updatePacketSize () |
Public Member Functions inherited from DataTransferPDU_Base | |
| virtual | ~DataTransferPDU_Base () |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) |
Public Member Functions inherited from PDU | |
| PDU (const char *name=NULL, int kind=0) | |
| PDU (const PDU &other) | |
| PDU & | operator= (const PDU &other) |
| unsigned int | getHeaderSize () |
| unsigned int | getSize () |
Public Member Functions inherited from PDU_Base | |
| 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) |
Private Member Functions | |
| void | copy (const DataTransferPDU &other) |
Private Attributes | |
| UserDataFieldPtr | userDataField_var |
Additional Inherited Members | |
Protected Member Functions inherited from DataTransferPDU_Base | |
| bool | operator== (const DataTransferPDU_Base &) |
| DataTransferPDU_Base (const char *name=nullptr, int kind=0) | |
| DataTransferPDU_Base (const DataTransferPDU_Base &other) | |
| DataTransferPDU_Base & | operator= (const DataTransferPDU_Base &other) |
Protected Member Functions inherited from PDU_Base | |
| 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) |
Protected Attributes inherited from PDU_Base | |
| ::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 |
Definition at line 38 of file DataTransferPDU.h.
| DataTransferPDU::DataTransferPDU | ( | const char * | name = NULL, |
| int | kind = 0 |
||
| ) |
Definition at line 35 of file DataTransferPDU.cc.
Referenced by dup().
|
inline |
Definition at line 46 of file DataTransferPDU.h.
|
private |
Definition at line 40 of file DataTransferPDU.cc.
Referenced by DataTransferPDU().
|
inlinevirtual |
Reimplemented from DataTransferPDU_Base.
Reimplemented in InfectedDataTransferPDU.
Definition at line 48 of file DataTransferPDU.h.
Referenced by RxTimerExpiryPolicyBase::defaultAction(), DTP::generatePDUsnew(), and DTP::sendEmptyDTPDU().
| int DataTransferPDU::getSDUGap | ( | const DataTransferPDU * | other | ) |
Definition at line 73 of file DataTransferPDU.cc.
| unsigned int DataTransferPDU::getSDUSeqNum | ( | ) | const |
Definition at line 83 of file DataTransferPDU.cc.
| unsigned int DataTransferPDU::getSize | ( | ) |
Definition at line 48 of file DataTransferPDU.cc.
| UserDataFieldPtr & DataTransferPDU::getUserDataField | ( | ) |
Definition at line 55 of file DataTransferPDU.cc.
| void DataTransferPDU::setUserDataField | ( | const UserDataFieldPtr & | userDataField | ) |
Definition at line 65 of file DataTransferPDU.cc.
| void DataTransferPDU::updatePacketSize | ( | ) |
This method needs to be run when you change userDataField_var's size via direct pointer.
Definition at line 60 of file DataTransferPDU.cc.
Referenced by setUserDataField().
|
private |
Definition at line 42 of file DataTransferPDU.h.
Referenced by copy(), DataTransferPDU(), getSDUGap(), getSDUSeqNum(), getSize(), getUserDataField(), setUserDataField(), and updatePacketSize().