5G-LENA nr-v3.1-14-g738b08bc
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::OperationBandInfo Struct Reference

Operation band information structure. More...

#include "cc-bwp-helper.h"

+ Collaboration diagram for ns3::OperationBandInfo:

Public Member Functions

bool AddCc (ComponentCarrierInfoPtr &&cc)
 Adds the component carrier definition given as an input reference to the current operation band configuration.
 
BandwidthPartInfoPtrGetBwpAt (uint32_t ccId, uint32_t bwpId) const
 Get the BWP at the cc/bwp specified.
 
BandwidthPartInfoPtrVector GetBwps () const
 Get the list of all the BWPs to pass to NrHelper.
 

Public Attributes

uint8_t m_bandId {0}
 Operation band id.
 
std::vector< ComponentCarrierInfoPtrm_cc
 Operation band component carriers.
 
double m_centralFrequency {0.0}
 Operation band central frequency.
 
double m_channelBandwidth {0}
 Operation band bandwidth.
 
double m_higherFrequency {0.0}
 Operation band higher frequency.
 
double m_lowerFrequency {0.0}
 Operation band lower frequency.
 

Detailed Description

Operation band information structure.

Defines the range of frequencies of an operation band and includes a list of component carriers (CC) and their contiguousness

Definition at line 189 of file cc-bwp-helper.h.

Member Function Documentation

◆ AddCc()

bool ns3::OperationBandInfo::AddCc ( ComponentCarrierInfoPtr &&  cc)

Adds the component carrier definition given as an input reference to the current operation band configuration.

Parameters
ccThe information of the component carrier to be created

Definition at line 61 of file cc-bwp-helper.cc.

References m_cc, m_higherFrequency, and m_lowerFrequency.

Referenced by ns3::CcBwpCreator::CreateOperationBandContiguousCc(), and ns3::CcBwpCreator::CreateOperationBandNonContiguousCc().

+ Here is the caller graph for this function:

◆ GetBwpAt()

BandwidthPartInfoPtr & ns3::OperationBandInfo::GetBwpAt ( uint32_t  ccId,
uint32_t  bwpId 
) const

Get the BWP at the cc/bwp specified.

Parameters
ccIdComponent carrier Index
bwpIdBandwidth Part index
Returns
a pointer to the BWP

Definition at line 99 of file cc-bwp-helper.cc.

References m_cc.

◆ GetBwps()

BandwidthPartInfoPtrVector ns3::OperationBandInfo::GetBwps ( ) const

Get the list of all the BWPs to pass to NrHelper.

Returns
a list of BWP to pass to NrHelper::InitializeOperationBand()

Definition at line 105 of file cc-bwp-helper.cc.

References m_cc.

Referenced by ns3::CcBwpCreator::GetAllBwps().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_bandId

◆ m_cc

◆ m_centralFrequency

double ns3::OperationBandInfo::m_centralFrequency {0.0}

Operation band central frequency.

Definition at line 192 of file cc-bwp-helper.h.

Referenced by ns3::CcBwpCreator::CreateOperationBandContiguousCc().

◆ m_channelBandwidth

double ns3::OperationBandInfo::m_channelBandwidth {0}

Operation band bandwidth.

Definition at line 195 of file cc-bwp-helper.h.

Referenced by ns3::CcBwpCreator::CreateOperationBandContiguousCc().

◆ m_higherFrequency

double ns3::OperationBandInfo::m_higherFrequency {0.0}

Operation band higher frequency.

Definition at line 194 of file cc-bwp-helper.h.

Referenced by AddCc(), and ns3::CcBwpCreator::CreateOperationBandContiguousCc().

◆ m_lowerFrequency

double ns3::OperationBandInfo::m_lowerFrequency {0.0}

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