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

Interface for a Bwp selection algorithm based on the bearer. More...

#include "bwp-manager-algorithm.h"

+ Inheritance diagram for ns3::BwpManagerAlgorithm:
+ Collaboration diagram for ns3::BwpManagerAlgorithm:

Public Member Functions

 BwpManagerAlgorithm ()=default
 constructor
 
 ~BwpManagerAlgorithm () override=default
 
virtual uint8_t GetBwpForEpsBearer (const NrEpsBearer::Qci &v) const =0
 Get the bandwidth part id for the Qci specified.
 

Static Public Member Functions

static TypeId GetTypeId ()
 GetTypeId.
 

Detailed Description

Interface for a Bwp selection algorithm based on the bearer.

At the moment, we provide only a static algorithm that has to be configured before the simulation starts (BwpManagerAlgorithmStatic).

Configuration

The algorithm can be set, before the scenario creation, through the helper method NrHelper::SetGnbBwpManagerAlgorithmTypeId(). It is also possible to set attributes, through NrHelper::SetGnbBwpManagerAlgorithmAttribute().

For the UE, the methods to use are, respectively, NrHelper::SetUeBwpManagerAlgorithmTypeId() and NrHelper::SetUeBwpManagerAlgorithmAttribute().

See also
GetBwpForEpsBearer
BwpManagerAlgorithmStatic

Config Paths

ns3::BwpManagerAlgorithm is accessible through the following paths with Config::Set and Config::Connect:

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 37 of file bwp-manager-algorithm.h.

Constructor & Destructor Documentation

◆ ~BwpManagerAlgorithm()

ns3::BwpManagerAlgorithm::~BwpManagerAlgorithm ( )
overridedefault

~BwpManagerAlgorithm

Member Function Documentation

◆ GetBwpForEpsBearer()

virtual uint8_t ns3::BwpManagerAlgorithm::GetBwpForEpsBearer ( const NrEpsBearer::Qci v) const
pure virtual

Get the bandwidth part id for the Qci specified.

Parameters
vthe qci
Returns
the bwp id that the algorithm selects for the qci specified

Implemented in ns3::BwpManagerAlgorithmStatic.

◆ GetTypeId()

TypeId ns3::BwpManagerAlgorithm::GetTypeId ( )
static

GetTypeId.

Returns
The TypeId of the object

Definition at line 16 of file bwp-manager-algorithm.cc.


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