User Manual, Developers Guide and API Documentation

simpletl::PDU Class Reference

This class holds the protocol data unit (PDU) of the SimpleTL layer. It implements doGetLengthInBits() to return the PDU size.

#include <PDU.hpp>

Inheritance diagram for simpletl::PDU:

Inheritance graph
[legend]
Collaboration diagram for simpletl::PDU:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PDU (simpletl::PCI *, const wns::osi::PDUPtr &)

Private Member Functions

virtual Bit doGetLengthInBits () const


Detailed Description

Definition at line 41 of file PDU.hpp.


Constructor & Destructor Documentation

simpletl::PDU::PDU ( simpletl::PCI pci,
const wns::osi::PDUPtr pdu 
)

Definition at line 31 of file PDU.cpp.


Member Function Documentation

Bit simpletl::PDU::doGetLengthInBits (  )  const [private, virtual]

Returns:
The size of the PDU in bit which is the sum of the PCI returned by PCI::getSize() and the size uf the user data (SDU) from the layer above.

Reimplemented from wns::osi::PDU.

Definition at line 36 of file PDU.cpp.


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

Generated on Sat May 26 03:32:39 2012 for openWNS by  doxygen 1.5.5