![]() |
5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
|
Bandwidth part representation for a UE. More...
#include "bandwidth-part-ue.h"
Public Member Functions | |
BandwidthPartUe () | |
BandwidthPartUe constructor. | |
~BandwidthPartUe () override | |
~BandwidthPartUe | |
Ptr< NrUeMac > | GetMac () const |
Ptr< NrUePhy > | GetPhy () const |
void | SetDlBandwidth (uint16_t bw) override |
void | SetMac (Ptr< NrUeMac > s) |
void | SetPhy (Ptr< NrUePhy > s) |
void | SetUlBandwidth (uint16_t bw) override |
![]() | |
void | DoDispose () override |
uint32_t | GetCsgId () const |
Returns the CSG ID of the eNodeB. | |
bool | GetCsgIndication () const |
Returns the CSG indication flag of the eNodeB. | |
uint16_t | GetDlBandwidth () const |
uint32_t | GetDlEarfcn () const |
uint16_t | GetUlBandwidth () const |
uint32_t | GetUlEarfcn () const |
bool | IsPrimary () const |
Checks if the carrier is the primary carrier. | |
void | SetAsPrimary (bool primaryCarrier) |
Set as primary carrier. | |
void | SetCsgId (uint32_t csgId) |
Associate the eNodeB device with a particular CSG. | |
void | SetCsgIndication (bool csgIndication) |
Enable or disable the CSG indication flag. | |
void | SetDlEarfcn (uint32_t earfcn) |
void | SetUlEarfcn (uint32_t earfcn) |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the type ID. | |
![]() | |
static TypeId | GetTypeId () |
Get the type ID. | |
Protected Member Functions | |
void | DoDispose () override |
DoDispose method inherited from Object. | |
Additional Inherited Members | |
![]() | |
uint32_t | m_csgId {0} |
CSG ID. | |
bool | m_csgIndication {false} |
CSG indication. | |
uint16_t | m_dlBandwidth {0} |
downlink bandwidth in RBs */ | |
uint32_t | m_dlEarfcn {0} |
downlink carrier frequency */ | |
bool | m_primaryCarrier {false} |
whether the carrier is primary | |
uint16_t | m_ulBandwidth {0} |
uplink bandwidth in RBs */ | |
uint32_t | m_ulEarfcn {0} |
uplink carrier frequency */ | |
Bandwidth part representation for a UE.
ns3::BandwidthPartUe is accessible through the following paths with Config::Set and Config::Connect:
/NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrUeNetDevice/ComponentCarrierMapUe/[i]
/NodeList/[i]/DeviceList/[i]/$ns3::NrUeNetDevice/ComponentCarrierMapUe/[i]
No TraceSources are defined for this type.
Size of this type is 88 bytes (on a 64-bit architecture).
Definition at line 24 of file bandwidth-part-ue.h.
ns3::BandwidthPartUe::BandwidthPartUe | ( | ) |
BandwidthPartUe constructor.
Definition at line 41 of file bandwidth-part-ue.cc.
|
override |
~BandwidthPartUe
Definition at line 48 of file bandwidth-part-ue.cc.
|
overrideprotected |
DoDispose method inherited from Object.
Definition at line 54 of file bandwidth-part-ue.cc.
Ptr< NrUeMac > ns3::BandwidthPartUe::GetMac | ( | ) | const |
Definition at line 87 of file bandwidth-part-ue.cc.
Ptr< NrUePhy > ns3::BandwidthPartUe::GetPhy | ( | ) | const |
Definition at line 73 of file bandwidth-part-ue.cc.
|
static |
|
inlineoverridevirtual |
bw | the downlink bandwidth in RBs |
Reimplemented from ns3::NrComponentCarrier.
Definition at line 65 of file bandwidth-part-ue.h.
References ns3::NrComponentCarrier::m_dlBandwidth.
void ns3::BandwidthPartUe::SetMac | ( | Ptr< NrUeMac > | s | ) |
Set the NrGnbMac
s | a pointer to the NrGnbMac |
Definition at line 80 of file bandwidth-part-ue.cc.
void ns3::BandwidthPartUe::SetPhy | ( | Ptr< NrUePhy > | s | ) |
Set NrUePhy
s | a pointer to the NrUePhy |
Definition at line 65 of file bandwidth-part-ue.cc.
|
inlineoverridevirtual |
bw | the uplink bandwidth in RBs |
Reimplemented from ns3::NrComponentCarrier.
Definition at line 70 of file bandwidth-part-ue.h.
References ns3::NrComponentCarrier::m_ulBandwidth.