5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrPdcpTag Class Reference

#include "nr-pdcp-tag.h"

+ Inheritance diagram for ns3::NrPdcpTag:
+ Collaboration diagram for ns3::NrPdcpTag:

Public Member Functions

 NrPdcpTag ()
 
 NrPdcpTag (Time senderTimestamp)
 
void Deserialize (TagBuffer i) override
 
TypeId GetInstanceTypeId () const override
 
Time GetSenderTimestamp () const
 
uint32_t GetSerializedSize () const override
 
void Print (std::ostream &os) const override
 
void Serialize (TagBuffer i) const override
 
void SetSenderTimestamp (Time senderTimestamp)
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.
 

Detailed Description

Tag to calculate the per-PDU delay from gNB PDCP to UE PDCP

Introspection did not find any typical Config paths.
No Attributes are defined for this type.
No TraceSources are defined for this type.
Size of this type is 16 bytes (on a 64-bit architecture).

Definition at line 23 of file nr-pdcp-tag.h.

Constructor & Destructor Documentation

◆ NrPdcpTag() [1/2]

ns3::NrPdcpTag::NrPdcpTag ( )

Create an empty PDCP tag

Definition at line 18 of file nr-pdcp-tag.cc.

◆ NrPdcpTag() [2/2]

ns3::NrPdcpTag::NrPdcpTag ( Time  senderTimestamp)

Create an PDCP tag with the given senderTimestamp

Parameters
senderTimestampthe time stamp

Definition at line 24 of file nr-pdcp-tag.cc.

Member Function Documentation

◆ Deserialize()

void ns3::NrPdcpTag::Deserialize ( TagBuffer  i)
override

Definition at line 59 of file nr-pdcp-tag.cc.

◆ GetInstanceTypeId()

TypeId ns3::NrPdcpTag::GetInstanceTypeId ( ) const
override

Definition at line 40 of file nr-pdcp-tag.cc.

◆ GetSenderTimestamp()

Time ns3::NrPdcpTag::GetSenderTimestamp ( ) const

Get the instant when the PDCP delivers the PDU to the MAC SAP provider

Returns
the sender timestamp

Definition at line 73 of file nr-pdcp-tag.cc.

Referenced by ns3::NrPdcp::DoReceivePdu().

+ Here is the caller graph for this function:

◆ GetSerializedSize()

uint32_t ns3::NrPdcpTag::GetSerializedSize ( ) const
override

Definition at line 46 of file nr-pdcp-tag.cc.

◆ GetTypeId()

TypeId ns3::NrPdcpTag::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 32 of file nr-pdcp-tag.cc.

◆ Print()

void ns3::NrPdcpTag::Print ( std::ostream &  os) const
override

Definition at line 67 of file nr-pdcp-tag.cc.

◆ Serialize()

void ns3::NrPdcpTag::Serialize ( TagBuffer  i) const
override

Definition at line 52 of file nr-pdcp-tag.cc.

◆ SetSenderTimestamp()

void ns3::NrPdcpTag::SetSenderTimestamp ( Time  senderTimestamp)

Set the sender timestamp

Parameters
senderTimestamptime stamp of the instant when the PDCP delivers the PDU to the MAC SAP provider

Definition at line 79 of file nr-pdcp-tag.cc.


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