RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <UserDataField.h>
Public Member Functions | |
UserDataField (const char *name=NULL, int kind=0) | |
UserDataField (const UserDataField &other) | |
virtual | ~UserDataField () |
virtual UserDataField * | dup () const |
unsigned int | getSize () |
unsigned int | getSduDelimitFlags () const |
void | setSduDelimitFlags (unsigned int sduDelimitFlags) |
unsigned int | getSduSeqNum () const |
void | setSduSeqNum (unsigned int sduSeqNum) |
UserDataField & | operator= (const UserDataField &other) |
![]() | |
virtual | ~UserDataField_Base () |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) |
virtual bool | getSduSeqNumPresent () const |
virtual void | setSduSeqNumPresent (bool sduSeqNumPresent) |
virtual bool | getNoLength () const |
virtual void | setNoLength (bool noLength) |
virtual bool | getMidFragment () const |
virtual void | setMidFragment (bool midFragment) |
virtual bool | getFirstFragment () const |
virtual void | setFirstFragment (bool firstFragment) |
virtual bool | getLastFragment () const |
virtual void | setLastFragment (bool lastFragment) |
virtual bool | getCompleteSDU () const |
virtual void | setCompleteSDU (bool completeSDU) |
Private Member Functions | |
void | copy (const UserDataField &other) |
Private Attributes | |
unsigned int | sduDelimitFlags |
bool | sduSeqNumPresent |
unsigned int | sduSeqNum |
unsigned int | size |
Additional Inherited Members | |
![]() | |
bool | operator== (const UserDataField_Base &) |
UserDataField_Base (const char *name=nullptr, int kind=0) | |
UserDataField_Base (const UserDataField_Base &other) | |
UserDataField_Base & | operator= (const UserDataField_Base &other) |
![]() | |
bool | sduSeqNumPresent |
bool | noLength |
bool | midFragment |
bool | firstFragment |
bool | lastFragment |
bool | completeSDU |
unsigned int | sduSeqNum |
Definition at line 44 of file UserDataField.h.
UserDataField::UserDataField | ( | const char * | name = NULL , |
int | kind = 0 |
||
) |
Definition at line 34 of file UserDataField.cc.
Referenced by dup().
UserDataField::UserDataField | ( | const UserDataField & | other | ) |
Definition at line 42 of file UserDataField.cc.
|
virtual |
Definition at line 122 of file UserDataField.cc.
|
private |
Referenced by operator=().
|
inlinevirtual |
This method removes first SDU from userDataField and returns it. Also updates remaining size of UserDataField
Reimplemented from UserDataField_Base.
Definition at line 72 of file UserDataField.h.
unsigned int UserDataField::getSduDelimitFlags | ( | ) | const |
sdu |
Definition at line 103 of file UserDataField.cc.
Referenced by DataTransferPDU::getSDUGap().
|
virtual |
Reimplemented from UserDataField_Base.
Definition at line 108 of file UserDataField.cc.
Referenced by DataTransferPDU::getSDUGap(), and DataTransferPDU::getSDUSeqNum().
unsigned int UserDataField::getSize | ( | ) |
Definition at line 118 of file UserDataField.cc.
Referenced by DataTransferPDU::getSize(), and DataTransferPDU::updatePacketSize().
|
inline |
Definition at line 83 of file UserDataField.h.
void UserDataField::setSduDelimitFlags | ( | unsigned int | sduDelimitFlags | ) |
|
virtual |
Reimplemented from UserDataField_Base.
Definition at line 134 of file UserDataField.cc.
Referenced by Infection::DCInfection::getPDU(), Infection::Flow::getPDU(), Delimiting::handleMessage(), and Delimiting::processMsgFromFAI().
|
private |
Definition at line 47 of file UserDataField.h.
Referenced by getSduDelimitFlags(), and UserDataField().
|
private |
Definition at line 52 of file UserDataField.h.
Referenced by getSduSeqNum(), setSduSeqNum(), and UserDataField().
|
private |
Definition at line 49 of file UserDataField.h.
|
private |
Definition at line 54 of file UserDataField.h.
Referenced by getSize(), and UserDataField().