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

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

#include "lte-as-sap.h"

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

Public Member Functions

 MemberLteAsSapProvider ()=delete
 
 MemberLteAsSapProvider (C *owner)
 Constructor. More...
 
void Connect () override
 Tell the RRC entity to enter Connected mode. More...
 
void Disconnect () override
 Tell the RRC entity to release the connection. More...
 
void ForceCampedOnEnb (uint16_t cellId, uint32_t dlEarfcn) override
 Force the RRC entity to stay camped on a certain eNodeB. More...
 
void SendData (Ptr< Packet > packet, uint8_t bid) override
 Send a data packet. More...
 
void SetCsgWhiteList (uint32_t csgId) override
 Set the selected Closed Subscriber Group subscription list to be used for cell selection. More...
 
void StartCellSelection (uint32_t dlEarfcn) override
 Initiate Idle mode cell selection procedure. More...
 
- Public Member Functions inherited from ns3::LteAsSapProvider
virtual ~LteAsSapProvider ()
 

Private Attributes

C * m_owner
 the owner class More...
 

Detailed Description

template<class C>
class ns3::MemberLteAsSapProvider< C >

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

Definition at line 130 of file lte-as-sap.h.

Constructor & Destructor Documentation

◆ MemberLteAsSapProvider() [1/2]

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

Constructor.

Parameters
ownerthe owner class

Definition at line 156 of file lte-as-sap.h.

◆ MemberLteAsSapProvider() [2/2]

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

Member Function Documentation

◆ Connect()

template<class C >
void ns3::MemberLteAsSapProvider< C >::Connect ( )
overridevirtual

Tell the RRC entity to enter Connected mode.

If this function is called when the UE is in a situation where connecting is not possible (e.g. before the simulation begin), then the UE will attempt to connect at the earliest possible time (e.g. after it camps to a suitable cell).

Implements ns3::LteAsSapProvider.

Definition at line 184 of file lte-as-sap.h.

◆ Disconnect()

template<class C >
void ns3::MemberLteAsSapProvider< C >::Disconnect ( )
overridevirtual

Tell the RRC entity to release the connection.

Implements ns3::LteAsSapProvider.

Definition at line 198 of file lte-as-sap.h.

◆ ForceCampedOnEnb()

template<class C >
void ns3::MemberLteAsSapProvider< C >::ForceCampedOnEnb ( uint16_t  cellId,
uint32_t  dlEarfcn 
)
overridevirtual

Force the RRC entity to stay camped on a certain eNodeB.

Parameters
cellIdthe cell ID identifying the eNodeB
dlEarfcnthe downlink carrier frequency (EARFCN)

Implements ns3::LteAsSapProvider.

Definition at line 177 of file lte-as-sap.h.

◆ SendData()

template<class C >
void ns3::MemberLteAsSapProvider< C >::SendData ( Ptr< Packet packet,
uint8_t  bid 
)
overridevirtual

Send a data packet.

Parameters
packetthe packet
bidthe EPS bearer ID

Implements ns3::LteAsSapProvider.

Definition at line 191 of file lte-as-sap.h.

◆ SetCsgWhiteList()

template<class C >
void ns3::MemberLteAsSapProvider< C >::SetCsgWhiteList ( uint32_t  csgId)
overridevirtual

Set the selected Closed Subscriber Group subscription list to be used for cell selection.

Parameters
csgIdidentity of the subscribed CSG

Implements ns3::LteAsSapProvider.

Definition at line 163 of file lte-as-sap.h.

◆ StartCellSelection()

template<class C >
void ns3::MemberLteAsSapProvider< C >::StartCellSelection ( uint32_t  dlEarfcn)
overridevirtual

Initiate Idle mode cell selection procedure.

Parameters
dlEarfcnthe downlink carrier frequency (EARFCN)

Implements ns3::LteAsSapProvider.

Definition at line 170 of file lte-as-sap.h.

Member Data Documentation

◆ m_owner

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

the owner class

Definition at line 152 of file lte-as-sap.h.


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