5G-LENA  nr-v3.0-29-g83cc959
The 5G/NR module for the ns-3 simulator
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 EpsBearer::Qci &v) const =0
 Get the bandwidth part id for the Qci specified. More...
 

Static Public Member Functions

static TypeId GetTypeId ()
 GetTypeId. More...
 

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:

  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteEnbNetDevice/LteEnbComponentCarrierManager/$ns3::NoOpComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteEnbNetDevice/LteEnbComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteUeNetDevice/LteUeComponentCarrierManager/$ns3::SimpleUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteUeNetDevice/LteUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteEnbNetDevice/LteEnbComponentCarrierManager/$ns3::NoOpComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteEnbNetDevice/LteEnbComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteUeNetDevice/LteUeComponentCarrierManager/$ns3::SimpleUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteUeNetDevice/LteUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrGnbNetDevice/LteEnbComponentCarrierManager/$ns3::NoOpComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrGnbNetDevice/LteEnbComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrUeNetDevice/LteUeComponentCarrierManager/$ns3::SimpleUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrUeNetDevice/LteUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::NrGnbNetDevice/LteEnbComponentCarrierManager/$ns3::NoOpComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::NrGnbNetDevice/LteEnbComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::NrUeNetDevice/LteUeComponentCarrierManager/$ns3::SimpleUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
  • /NodeList/[i]/DeviceList/[i]/$ns3::NrUeNetDevice/LteUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm

No Attributes are defined for this type.
No TraceSources are defined for this type.
Size of this type is 32 bytes (on a 64-bit architecture).

Definition at line 38 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 EpsBearer::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 18 of file bwp-manager-algorithm.cc.


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