A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
void AddUe (uint16_t rnti) override
 Add a new UE to the cell.
 
int8_t GetReferenceSignalPower () override
 Get reference signal power.
 
void RemoveUe (uint16_t rnti) override
 Remove an UE from the cell.
 
void SetBandwidth (uint16_t ulBandwidth, uint16_t dlBandwidth) override
 Set bandwidth.
 
void SetCellId (uint16_t cellId) override
 Set cell ID.
 
void SetEarfcn (uint32_t ulEarfcn, uint32_t dlEarfcn) override
 Set EARFCN.
 
void SetMasterInformationBlock (LteRrcSap::MasterInformationBlock mib) override
 Set master information block.
 
void SetPa (uint16_t rnti, double pa) override
 Set the UE transmission power offset P_A.
 
void SetSrsConfigurationIndex (uint16_t rnti, uint16_t srsCi) override
 Set SRS configuration index.
 
void SetSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 sib1) override
 Set system information block type 1.
 
void SetTransmissionMode (uint16_t rnti, uint8_t txMode) override
 Set transmission mode.
 
- Public Member Functions inherited from ns3::LteEnbCphySapProvider
virtual ~LteEnbCphySapProvider ()
 Destructor.
 
virtual void AddUe (uint16_t rnti)=0
 Add a new UE to the cell.
 
virtual int8_t GetReferenceSignalPower ()=0
 Get reference signal power.
 
virtual void RemoveUe (uint16_t rnti)=0
 Remove an UE from the cell.
 
virtual void SetBandwidth (uint16_t ulBandwidth, uint16_t dlBandwidth)=0
 Set bandwidth.
 
virtual void SetCellId (uint16_t cellId)=0
 Set cell ID.
 
virtual void SetEarfcn (uint32_t ulEarfcn, uint32_t dlEarfcn)=0
 Set EARFCN.
 
virtual void SetMasterInformationBlock (LteRrcSap::MasterInformationBlock mib)=0
 Set master information block.
 
virtual void SetPa (uint16_t rnti, double pa)=0
 Set the UE transmission power offset P_A.
 
virtual void SetSrsConfigurationIndex (uint16_t rnti, uint16_t srsCi)=0
 Set SRS configuration index.
 
virtual void SetSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 sib1)=0
 Set system information block type 1.
 
virtual void SetTransmissionMode (uint16_t rnti, uint8_t txMode)=0
 Set transmission mode.
 

Private Attributes

C * m_owner
 the owner class
 

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]

template<class C >
ns3::MemberLteEnbCphySapProvider< C >::MemberLteEnbCphySapProvider ( )
delete

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: