5G-LENA nr-v3.3-159-ga6832aa7
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::MemberNrGnbCphySapProvider< C > Class Template Reference

#include "nr-gnb-cphy-sap.h"

+ Inheritance diagram for ns3::MemberNrGnbCphySapProvider< C >:
+ Collaboration diagram for ns3::MemberNrGnbCphySapProvider< C >:

Public Member Functions

 MemberNrGnbCphySapProvider (C *owner)
 
void AddUe (uint16_t rnti) override
 
int8_t GetReferenceSignalPower () override
 
void RemoveUe (uint16_t rnti) override
 
void SetBandwidth (uint16_t ulBandwidth, uint16_t dlBandwidth) override
 
void SetCellId (uint16_t cellId) override
 
void SetEarfcn (uint32_t ulEarfcn, uint32_t dlEarfcn) override
 
void SetMasterInformationBlock (NrRrcSap::MasterInformationBlock mib) override
 
void SetPa (uint16_t rnti, double pa) override
 
void SetSrsConfigurationIndex (uint16_t rnti, uint16_t srsCi) override
 
void SetSystemInformationBlockType1 (NrRrcSap::SystemInformationBlockType1 sib1) override
 
void SetTransmissionMode (uint16_t rnti, uint8_t txMode) override
 
- Public Member Functions inherited from ns3::NrGnbCphySapProvider
virtual ~NrGnbCphySapProvider ()=default
 

Detailed Description

template<class C>
class ns3::MemberNrGnbCphySapProvider< C >

Template for the implementation of the NrGnbCphySapProvider as a member of an owner class of type C to which all methods are forwarded

Definition at line 139 of file nr-gnb-cphy-sap.h.

Constructor & Destructor Documentation

◆ MemberNrGnbCphySapProvider()

template<class C >
ns3::MemberNrGnbCphySapProvider< C >::MemberNrGnbCphySapProvider ( C *  owner)

Constructor

Parameters
ownerthe owner class

Definition at line 170 of file nr-gnb-cphy-sap.h.

Member Function Documentation

◆ AddUe()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::AddUe ( uint16_t  rnti)
overridevirtual

Add a new UE to the cell

Parameters
rntithe UE id relative to this cell

Implements ns3::NrGnbCphySapProvider.

Definition at line 198 of file nr-gnb-cphy-sap.h.

◆ GetReferenceSignalPower()

template<class C >
int8_t ns3::MemberNrGnbCphySapProvider< C >::GetReferenceSignalPower ( )
overridevirtual

Get reference signal power

Returns
Reference Signal Power for SIB2

Implements ns3::NrGnbCphySapProvider.

Definition at line 248 of file nr-gnb-cphy-sap.h.

◆ RemoveUe()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::RemoveUe ( uint16_t  rnti)
overridevirtual

Remove an UE from the cell

Parameters
rntithe UE id relative to this cell

Implements ns3::NrGnbCphySapProvider.

Definition at line 205 of file nr-gnb-cphy-sap.h.

◆ SetBandwidth()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::SetBandwidth ( uint16_t  ulBandwidth,
uint16_t  dlBandwidth 
)
overridevirtual

Set bandwidth

Parameters
ulBandwidththe UL bandwidth in PRBs
dlBandwidththe DL bandwidth in PRBs

Implements ns3::NrGnbCphySapProvider.

Definition at line 184 of file nr-gnb-cphy-sap.h.

◆ SetCellId()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::SetCellId ( uint16_t  cellId)
overridevirtual

Set cell ID

Parameters
cellIdthe Cell Identifier

Implements ns3::NrGnbCphySapProvider.

Definition at line 177 of file nr-gnb-cphy-sap.h.

◆ SetEarfcn()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::SetEarfcn ( uint32_t  ulEarfcn,
uint32_t  dlEarfcn 
)
overridevirtual

Set EARFCN

Parameters
ulEarfcnthe UL EARFCN
dlEarfcnthe DL EARFCN

Implements ns3::NrGnbCphySapProvider.

Definition at line 191 of file nr-gnb-cphy-sap.h.

◆ SetMasterInformationBlock()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::SetMasterInformationBlock ( NrRrcSap::MasterInformationBlock  mib)
overridevirtual

Set master information block

Parameters
mibthe Master Information Block to be sent on the BCH

Implements ns3::NrGnbCphySapProvider.

Definition at line 233 of file nr-gnb-cphy-sap.h.

◆ SetPa()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::SetPa ( uint16_t  rnti,
double  pa 
)
overridevirtual

Set the UE transmission power offset P_A

Parameters
rntithe UE id relative to this cell
patransmission power offset

Implements ns3::NrGnbCphySapProvider.

Definition at line 212 of file nr-gnb-cphy-sap.h.

◆ SetSrsConfigurationIndex()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::SetSrsConfigurationIndex ( uint16_t  rnti,
uint16_t  srsCi 
)
overridevirtual

Set SRS configuration index

Parameters
rntithe RNTI of the user
srsCithe SRS Configuration Index of the user

Implements ns3::NrGnbCphySapProvider.

Definition at line 226 of file nr-gnb-cphy-sap.h.

◆ SetSystemInformationBlockType1()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::SetSystemInformationBlockType1 ( NrRrcSap::SystemInformationBlockType1  sib1)
overridevirtual

Set system information block type 1

Parameters
sib1the System Information Block Type 1 to be sent on the BCH

Implements ns3::NrGnbCphySapProvider.

Definition at line 240 of file nr-gnb-cphy-sap.h.

◆ SetTransmissionMode()

template<class C >
void ns3::MemberNrGnbCphySapProvider< C >::SetTransmissionMode ( uint16_t  rnti,
uint8_t  txMode 
)
overridevirtual

Set transmission mode

Parameters
rntithe RNTI of the user
txModethe transmissionMode of the user

Implements ns3::NrGnbCphySapProvider.

Definition at line 219 of file nr-gnb-cphy-sap.h.


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