A Discrete-Event Network Simulator
API
ns3::MemberLteEnbCphySapProvider< C > Class Template Reference

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

#include "lte-enb-cphy-sap.h"

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

Public Member Functions

 MemberLteEnbCphySapProvider ()=delete
 
 MemberLteEnbCphySapProvider (C *owner)
 Constructor. More...
 
void AddUe (uint16_t rnti) override
 Add a new UE to the cell. More...
 
int8_t GetReferenceSignalPower () override
 Get reference signal power. More...
 
void RemoveUe (uint16_t rnti) override
 Remove an UE from the cell. More...
 
void SetBandwidth (uint16_t ulBandwidth, uint16_t dlBandwidth) override
 Set bandwidth. More...
 
void SetCellId (uint16_t cellId) override
 Set cell ID. More...
 
void SetEarfcn (uint32_t ulEarfcn, uint32_t dlEarfcn) override
 Set EARFCN. More...
 
void SetMasterInformationBlock (LteRrcSap::MasterInformationBlock mib) override
 Set master information block. More...
 
void SetPa (uint16_t rnti, double pa) override
 Set the UE transmission power offset P_A. More...
 
void SetSrsConfigurationIndex (uint16_t rnti, uint16_t srsCi) override
 Set SRS configuration index. More...
 
void SetSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 sib1) override
 Set system information block type 1. More...
 
void SetTransmissionMode (uint16_t rnti, uint8_t txMode) override
 Set transmission mode. More...
 
- Public Member Functions inherited from ns3::LteEnbCphySapProvider
virtual ~LteEnbCphySapProvider ()
 Destructor. More...
 

Private Attributes

C * m_owner
 the owner class More...
 

Detailed Description

template<class C>
class ns3::MemberLteEnbCphySapProvider< C >

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

Definition at line 152 of file lte-enb-cphy-sap.h.

Constructor & Destructor Documentation

◆ MemberLteEnbCphySapProvider() [1/2]

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

Constructor.

Parameters
ownerthe owner class

Definition at line 183 of file lte-enb-cphy-sap.h.

◆ MemberLteEnbCphySapProvider() [2/2]

Member Function Documentation

◆ AddUe()

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

Add a new UE to the cell.

Parameters
rntithe UE id relative to this cell

Implements ns3::LteEnbCphySapProvider.

Definition at line 211 of file lte-enb-cphy-sap.h.

◆ GetReferenceSignalPower()

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

Get reference signal power.

Returns
Reference Signal Power for SIB2

Implements ns3::LteEnbCphySapProvider.

Definition at line 261 of file lte-enb-cphy-sap.h.

◆ RemoveUe()

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

Remove an UE from the cell.

Parameters
rntithe UE id relative to this cell

Implements ns3::LteEnbCphySapProvider.

Definition at line 218 of file lte-enb-cphy-sap.h.

◆ SetBandwidth()

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

Set bandwidth.

Parameters
ulBandwidththe UL bandwidth in PRBs
dlBandwidththe DL bandwidth in PRBs

Implements ns3::LteEnbCphySapProvider.

Definition at line 197 of file lte-enb-cphy-sap.h.

◆ SetCellId()

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

Set cell ID.

Parameters
cellIdthe Cell Identifier

Implements ns3::LteEnbCphySapProvider.

Definition at line 190 of file lte-enb-cphy-sap.h.

◆ SetEarfcn()

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

Set EARFCN.

Parameters
ulEarfcnthe UL EARFCN
dlEarfcnthe DL EARFCN

Implements ns3::LteEnbCphySapProvider.

Definition at line 204 of file lte-enb-cphy-sap.h.

◆ SetMasterInformationBlock()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetMasterInformationBlock ( LteRrcSap::MasterInformationBlock  mib)
overridevirtual

Set master information block.

Parameters
mibthe Master Information Block to be sent on the BCH

Implements ns3::LteEnbCphySapProvider.

Definition at line 246 of file lte-enb-cphy-sap.h.

◆ SetPa()

template<class C >
void ns3::MemberLteEnbCphySapProvider< 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::LteEnbCphySapProvider.

Definition at line 225 of file lte-enb-cphy-sap.h.

◆ SetSrsConfigurationIndex()

template<class C >
void ns3::MemberLteEnbCphySapProvider< 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::LteEnbCphySapProvider.

Definition at line 239 of file lte-enb-cphy-sap.h.

◆ SetSystemInformationBlockType1()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetSystemInformationBlockType1 ( LteRrcSap::SystemInformationBlockType1  sib1)
overridevirtual

Set system information block type 1.

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

Implements ns3::LteEnbCphySapProvider.

Definition at line 253 of file lte-enb-cphy-sap.h.

◆ SetTransmissionMode()

template<class C >
void ns3::MemberLteEnbCphySapProvider< 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::LteEnbCphySapProvider.

Definition at line 232 of file lte-enb-cphy-sap.h.

Member Data Documentation

◆ m_owner

template<class C >
C* ns3::MemberLteEnbCphySapProvider< C >::m_owner
private

the owner class

Definition at line 179 of file lte-enb-cphy-sap.h.


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