RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <SDU.h>
Public Member Functions | |
virtual | ~SDU () |
SDU (const char *name=NULL, int kind=0) | |
SDU (const SDU &other) | |
SDU & | operator= (const SDU &other) |
virtual SDU * | dup () const |
unsigned int | getSize () const |
unsigned int | getAbsoluteSize () const |
unsigned int | getRestSize () const |
bool | addUserData (cPacket *msg) |
cPacket * | getUserData () |
std::vector< SDU * > | fragment (unsigned int size) |
SDU * | genFragment (unsigned int size, unsigned int fSeqNum, unsigned int fOffset) |
void | setFragment (unsigned int size, unsigned int fSeqNum, unsigned int fOffset) |
![]() | |
virtual | ~SDU_Base () |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) |
virtual void | setSize (unsigned int size) |
virtual unsigned int | getOffset () const |
virtual void | setOffset (unsigned int offset) |
virtual unsigned int | getFSize () const |
virtual void | setFSize (unsigned int fSize) |
virtual unsigned int | getFOffset () const |
virtual void | setFOffset (unsigned int fOffset) |
virtual unsigned int | getSeqNum () const |
virtual void | setSeqNum (unsigned int seqNum) |
virtual unsigned int | getFSeqNum () const |
virtual void | setFSeqNum (unsigned int fSeqNum) |
virtual int | getFragType () const |
virtual void | setFragType (int fragType) |
![]() | |
Data (const char *name=NULL, int kind=0) | |
Data (const Data &other) | |
Data & | operator= (const Data &other) |
![]() | |
virtual | ~Data_Base () |
virtual int | getDataType () const |
virtual void | setDataType (int dataType) |
virtual int64_t | getEncapMsgLength () const |
virtual void | setEncapMsgLength (int64_t encapMsgLength) |
Private Member Functions | |
void | copy (const SDU &other) |
Private Attributes | |
mUserDataType | mUserData_var |
Additional Inherited Members | |
![]() | |
bool | operator== (const SDU_Base &) |
SDU_Base (const char *name=nullptr, int kind=0) | |
SDU_Base (const SDU_Base &other) | |
SDU_Base & | operator= (const SDU_Base &other) |
![]() | |
bool | operator== (const Data_Base &) |
Data_Base (const char *name=nullptr, int kind=0) | |
Data_Base (const Data_Base &other) | |
Data_Base & | operator= (const Data_Base &other) |
![]() | |
unsigned int | size |
unsigned int | offset |
unsigned int | fSize |
unsigned int | fOffset |
unsigned int | seqNum |
unsigned int | fSeqNum |
int | fragType |
![]() | |
int | dataType |
int64_t | encapMsgLength |
SDU::SDU | ( | const char * | name = NULL , |
int | kind = 0 |
||
) |
Definition at line 31 of file SDU.cc.
Referenced by dup(), and genFragment().
|
private |
Definition at line 41 of file SDU.cc.
Referenced by operator=(), and SDU().
|
inlinevirtual |
std::vector< SDU * > SDU::fragment | ( | unsigned int | size | ) |
SDU * SDU::genFragment | ( | unsigned int | size, |
unsigned int | fSeqNum, | ||
unsigned int | fOffset | ||
) |
Definition at line 166 of file SDU.cc.
Referenced by fragment().
|
virtual |
void SDU::setFragment | ( | unsigned int | size, |
unsigned int | fSeqNum, | ||
unsigned int | fOffset | ||
) |
Definition at line 174 of file SDU.cc.
Referenced by genFragment().
|
private |
Definition at line 54 of file SDU.h.
Referenced by addUserData(), copy(), getUserData(), and ~SDU().