A Discrete-Event Network Simulator
API
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 >:

Public Member Functions

 MemberLteEnbCphySapProvider (C *owner)
 Constructor. More...
 
virtual void AddUe (uint16_t rnti)
 Add a new UE to the cell. More...
 
virtual int8_t GetReferenceSignalPower ()
 
virtual void RemoveUe (uint16_t rnti)
 Remove an UE from the cell. More...
 
virtual void SetBandwidth (uint8_t ulBandwidth, uint8_t dlBandwidth)
 
virtual void SetCellId (uint16_t cellId)
 
virtual void SetEarfcn (uint32_t ulEarfcn, uint32_t dlEarfcn)
 
virtual void SetMasterInformationBlock (LteRrcSap::MasterInformationBlock mib)
 
virtual void SetPa (uint16_t rnti, double pa)
 Set the UE transmission power offset P_A. More...
 
virtual void SetSrsConfigurationIndex (uint16_t rnti, uint16_t srsCi)
 
virtual void SetSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 sib1)
 
virtual void SetTransmissionMode (uint16_t rnti, uint8_t txMode)
 
- Public Member Functions inherited from ns3::LteEnbCphySapProvider
virtual ~LteEnbCphySapProvider ()
 destructor More...
 

Private Member Functions

 MemberLteEnbCphySapProvider ()
 

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 146 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 175 of file lte-enb-cphy-sap.h.

◆ MemberLteEnbCphySapProvider() [2/2]

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

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

Member Function Documentation

◆ AddUe()

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

Add a new UE to the cell.

Parameters
rntithe UE id relative to this cell

Implements ns3::LteEnbCphySapProvider.

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

◆ GetReferenceSignalPower()

template<class C >
int8_t ns3::MemberLteEnbCphySapProvider< C >::GetReferenceSignalPower ( )
virtual
Returns
Reference Signal Power for SIB2

Implements ns3::LteEnbCphySapProvider.

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

◆ RemoveUe()

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

Remove an UE from the cell.

Parameters
rntithe UE id relative to this cell

Implements ns3::LteEnbCphySapProvider.

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

◆ SetBandwidth()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetBandwidth ( uint8_t  ulBandwidth,
uint8_t  dlBandwidth 
)
virtual
Parameters
ulBandwidththe UL bandwidth in PRBs
dlBandwidththe DL bandwidth in PRBs

Implements ns3::LteEnbCphySapProvider.

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

◆ SetCellId()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetCellId ( uint16_t  cellId)
virtual
Parameters
cellIdthe Cell Identifier

Implements ns3::LteEnbCphySapProvider.

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

◆ SetEarfcn()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetEarfcn ( uint32_t  ulEarfcn,
uint32_t  dlEarfcn 
)
virtual
Parameters
ulEarfcnthe UL EARFCN
dlEarfcnthe DL EARFCN

Implements ns3::LteEnbCphySapProvider.

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

◆ SetMasterInformationBlock()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetMasterInformationBlock ( LteRrcSap::MasterInformationBlock  mib)
virtual
Parameters
mibthe Master Information Block to be sent on the BCH

Implements ns3::LteEnbCphySapProvider.

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

◆ SetPa()

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

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 223 of file lte-enb-cphy-sap.h.

◆ SetSrsConfigurationIndex()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetSrsConfigurationIndex ( uint16_t  rnti,
uint16_t  srsCi 
)
virtual
Parameters
rntithe RNTI of the user
srsCithe SRS Configuration Index of the user

Implements ns3::LteEnbCphySapProvider.

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

◆ SetSystemInformationBlockType1()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetSystemInformationBlockType1 ( LteRrcSap::SystemInformationBlockType1  sib1)
virtual
Parameters
sib1the System Information Block Type 1 to be sent on the BCH

Implements ns3::LteEnbCphySapProvider.

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

◆ SetTransmissionMode()

template<class C >
void ns3::MemberLteEnbCphySapProvider< C >::SetTransmissionMode ( uint16_t  rnti,
uint8_t  txMode 
)
virtual
Parameters
rntithe RNTI of the user
txModethe transmissionMode of the user

Implements ns3::LteEnbCphySapProvider.

Definition at line 230 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 171 of file lte-enb-cphy-sap.h.


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