RINASim  October 2016
Documentation of framework for OMNeT++
PDU Class Reference

#include <PDU.h>

Inheritance diagram for PDU:
PDU_Base ControlPDU DataTransferPDU_Base ManagementPDU ControlAckPDU NAckPDU DataTransferPDU RendezvousPDU AckOnlyPDU FlowControlPDU NackOnlyPDU InfectedDataTransferPDU AckFlowPDU FlowControlOnlyPDU NackFlowPDU SelectiveNAckFlow SelectiveAckFlowPDU SelectiveAckPDU SelectiveNackFlowPDU SelectiveNackPDU

Public Member Functions

 PDU (const char *name=NULL, int kind=0)
 
 PDU (const PDU &other)
 
PDUoperator= (const PDU &other)
 
virtual PDUdup () const
 
unsigned int getHeaderSize ()
 
unsigned int getSize ()
 
- Public Member Functions inherited from PDU_Base
virtual ~PDU_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b)
 
virtual const char * getDisplayString () const
 
virtual void setDisplayString (const char *displayString)
 
virtual unsigned int getVersion () const
 
virtual void setVersion (unsigned int version)
 
virtual AddressgetSrcAddr ()
 
virtual const AddressgetSrcAddr () const
 
virtual void setSrcAddr (const Address &srcAddr)
 
virtual AddressgetDstAddr ()
 
virtual const AddressgetDstAddr () const
 
virtual void setDstAddr (const Address &dstAddr)
 
virtual APNgetSrcApn ()
 
virtual const APNgetSrcApn () const
 
virtual void setSrcApn (const APN &srcApn)
 
virtual APNgetDstApn ()
 
virtual const APNgetDstApn () const
 
virtual void setDstApn (const APN &dstApn)
 
virtual ConnectionIdgetConnId ()
 
virtual const ConnectionIdgetConnId () 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 PDU &other)
 

Additional Inherited Members

- 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_Baseoperator= (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
 

Detailed Description

Definition at line 42 of file PDU.h.

Constructor & Destructor Documentation

PDU::PDU ( const char *  name = NULL,
int  kind = 0 
)
inline

Definition at line 48 of file PDU.h.

Referenced by dup().

PDU::PDU ( const PDU other)
inline

Definition at line 49 of file PDU.h.

Member Function Documentation

void PDU::copy ( const PDU other)
inlineprivate

Definition at line 45 of file PDU.h.

Referenced by operator=(), and PDU().

unsigned int PDU::getHeaderSize ( )

Definition at line 113 of file PDU.cc.

Referenced by getSize().

unsigned int PDU::getSize ( )

Definition at line 117 of file PDU.cc.

PDU& PDU::operator= ( const PDU other)
inline

Definition at line 50 of file PDU.h.


The documentation for this class was generated from the following files: