5G-LENA nr-v3.3-120-gdac69c56
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrMacSchedulerLcRR Class Reference

Default algorithm for distributing the assigned bytes to the different LCGs/LCs of a UE in a Round Robin fashion. More...

#include "nr-mac-scheduler-lc-rr.h"

+ Inheritance diagram for ns3::NrMacSchedulerLcRR:
+ Collaboration diagram for ns3::NrMacSchedulerLcRR:

Public Member Functions

 NrMacSchedulerLcRR ()
 NrMacSchedulerLcRR constructor.
 
 ~NrMacSchedulerLcRR () override
 NrMacSchedulerLcRR deconstructor.
 
std::vector< AssignationAssignBytesToDlLC (const std::unordered_map< uint8_t, LCGPtr > &ueLCG, uint32_t tbs, Time slotPeriod) const override
 Method to decide how to distribute the assigned bytes to the different LCs for the DL direction. In the RR case the method to distribute the bytes will be the same as in the UL direction.
 
std::vector< AssignationAssignBytesToUlLC (const std::unordered_map< uint8_t, LCGPtr > &ueLCG, uint32_t tbs) const override
 Method to decide how to distribute the assigned bytes to the different LCs for the UL direction. In the RR case the method to distribute the bytes will be the same as in the DL direction.
 
- Public Member Functions inherited from ns3::NrMacSchedulerLcAlgorithm
 NrMacSchedulerLcAlgorithm ()
 NrMacSchedulerLcAlgorithm constructor.
 
 ~NrMacSchedulerLcAlgorithm () override
 ~NrMacSchedulerLc deconstructor
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.
 
- Static Public Member Functions inherited from ns3::NrMacSchedulerLcAlgorithm
static TypeId GetTypeId ()
 GetTypeId.
 

Detailed Description

Default algorithm for distributing the assigned bytes to the different LCGs/LCs of a UE in a Round Robin fashion.

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

Definition at line 20 of file nr-mac-scheduler-lc-rr.h.

Constructor & Destructor Documentation

◆ NrMacSchedulerLcRR()

ns3::NrMacSchedulerLcRR::NrMacSchedulerLcRR ( )

NrMacSchedulerLcRR constructor.

Definition at line 15 of file nr-mac-scheduler-lc-rr.cc.

◆ ~NrMacSchedulerLcRR()

ns3::NrMacSchedulerLcRR::~NrMacSchedulerLcRR ( )
override

NrMacSchedulerLcRR deconstructor.

Definition at line 21 of file nr-mac-scheduler-lc-rr.cc.

Member Function Documentation

◆ AssignBytesToDlLC()

std::vector< NrMacSchedulerLcAlgorithm::Assignation > ns3::NrMacSchedulerLcRR::AssignBytesToDlLC ( const std::unordered_map< uint8_t, LCGPtr > &  ueLCG,
uint32_t  tbs,
Time  slotPeriod 
) const
overridevirtual

Method to decide how to distribute the assigned bytes to the different LCs for the DL direction. In the RR case the method to distribute the bytes will be the same as in the UL direction.

Parameters
ueLCGLCG of an UE
tbsTBS to divide between the LCG/LC
Returns
A vector of Assignation

Implements ns3::NrMacSchedulerLcAlgorithm.

Definition at line 35 of file nr-mac-scheduler-lc-rr.cc.

◆ AssignBytesToUlLC()

std::vector< NrMacSchedulerLcAlgorithm::Assignation > ns3::NrMacSchedulerLcRR::AssignBytesToUlLC ( const std::unordered_map< uint8_t, LCGPtr > &  ueLCG,
uint32_t  tbs 
) const
overridevirtual

Method to decide how to distribute the assigned bytes to the different LCs for the UL direction. In the RR case the method to distribute the bytes will be the same as in the DL direction.

Parameters
ueLCGLCG of an UE
tbsTBS to divide between the LCG/LC
Returns
A vector of Assignation

Implements ns3::NrMacSchedulerLcAlgorithm.

Definition at line 43 of file nr-mac-scheduler-lc-rr.cc.

◆ GetTypeId()

TypeId ns3::NrMacSchedulerLcRR::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 26 of file nr-mac-scheduler-lc-rr.cc.

Referenced by ns3::NrMacSchedulerNs3::GetTypeId().

+ Here is the caller graph for this function:

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