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

#include "nr-rlc-tag.h"

+ Inheritance diagram for ns3::NrRlcTag:
+ Collaboration diagram for ns3::NrRlcTag:

Public Member Functions

 NrRlcTag ()
 
 NrRlcTag (Time senderTimestamp)
 
void Deserialize (TagBuffer i) override
 
TypeId GetInstanceTypeId () const override
 
Time GetSenderTimestamp () const
 
uint32_t GetSerializedSize () const override
 
uint16_t GetTxRnti () const
 
void Print (std::ostream &os) const override
 
void Serialize (TagBuffer i) const override
 
void SetSenderTimestamp (Time senderTimestamp)
 
void SetTxRnti (uint16_t rnti)
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.
 

Detailed Description

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

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 24 bytes (on a 64-bit architecture).

Definition at line 22 of file nr-rlc-tag.h.

Constructor & Destructor Documentation

◆ NrRlcTag() [1/2]

ns3::NrRlcTag::NrRlcTag ( )

Create an empty RLC tag

Definition at line 17 of file nr-rlc-tag.cc.

◆ NrRlcTag() [2/2]

ns3::NrRlcTag::NrRlcTag ( Time  senderTimestamp)

Create an RLC tag with the given senderTimestamp

Parameters
senderTimestampthe time

Definition at line 23 of file nr-rlc-tag.cc.

Member Function Documentation

◆ Deserialize()

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

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

◆ GetInstanceTypeId()

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

Definition at line 39 of file nr-rlc-tag.cc.

◆ GetSenderTimestamp()

Time ns3::NrRlcTag::GetSenderTimestamp ( ) const
inline

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

Returns
the sender timestamp

Definition at line 51 of file nr-rlc-tag.h.

Referenced by ns3::NrRlcAm::DoReceivePdu(), ns3::NrRlcUm::DoReceivePdu(), and ns3::NrRlcSm::DoReceivePdu().

+ Here is the caller graph for this function:

◆ GetSerializedSize()

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

Definition at line 45 of file nr-rlc-tag.cc.

◆ GetTxRnti()

uint16_t ns3::NrRlcTag::GetTxRnti ( ) const
inline

Get the RNTI of the transmitting UE

Returns
the RNTI of the transmitting UE

Definition at line 70 of file nr-rlc-tag.h.

◆ GetTypeId()

TypeId ns3::NrRlcTag::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 31 of file nr-rlc-tag.cc.

◆ Print()

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

Definition at line 68 of file nr-rlc-tag.cc.

◆ Serialize()

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

Definition at line 51 of file nr-rlc-tag.cc.

◆ SetSenderTimestamp()

void ns3::NrRlcTag::SetSenderTimestamp ( Time  senderTimestamp)
inline

Set the sender timestamp

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

Definition at line 61 of file nr-rlc-tag.h.

Referenced by ns3::NrRlcAm::DoNotifyTxOpportunity().

+ Here is the caller graph for this function:

◆ SetTxRnti()

void ns3::NrRlcTag::SetTxRnti ( uint16_t  rnti)
inline

Set the RNTI of the transmitting UE

Parameters
rntithe RNTI of the transmitting UE

Definition at line 79 of file nr-rlc-tag.h.


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