A Discrete-Event Network Simulator
API
ns3::RarLteControlMessage Class Reference

abstract model for the MAC Random Access Response message More...

#include "lte-control-messages.h"

+ Inheritance diagram for ns3::RarLteControlMessage:
+ Collaboration diagram for ns3::RarLteControlMessage:

Classes

struct  Rar
 a MAC RAR and the corresponding RAPID subheader More...
 

Public Member Functions

 RarLteControlMessage (void)
 
void AddRar (Rar rar)
 add a RAR to the MAC PDU, see 3GPP TS 36.321 6.2.3 More...
 
uint16_t GetRaRnti () const
 
std::list< Rar >::const_iterator RarListBegin () const
 
std::list< Rar >::const_iterator RarListEnd () const
 
void SetRaRnti (uint16_t raRnti)
 
- Public Member Functions inherited from ns3::LteControlMessage
 LteControlMessage (void)
 
virtual ~LteControlMessage (void)
 
MessageType GetMessageType (void)
 Get the type of the message. More...
 
void SetMessageType (MessageType type)
 Set the type of the message. More...
 
- Public Member Functions inherited from ns3::SimpleRefCount< LteControlMessage >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= ([[maybe_unused]] const SimpleRefCount &o)
 Assignment operator. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 

Private Attributes

std::list< Rarm_rarList
 RAR list. More...
 
uint16_t m_raRnti
 RA RNTI. More...
 

Additional Inherited Members

- Public Types inherited from ns3::LteControlMessage
enum  MessageType {
  DL_DCI , UL_DCI , DL_CQI , UL_CQI ,
  BSR , DL_HARQ , RACH_PREAMBLE , RAR ,
  MIB , SIB1
}
 The type of the message NOTE: The messages sent by UE are filtered by the LteEnbPhy::ReceiveLteControlMessageList in order to remove the ones that has been already handoff by the eNB for avoiding propagation of spurious messages. More...
 

Detailed Description

abstract model for the MAC Random Access Response message

Definition at line 275 of file lte-control-messages.h.

Constructor & Destructor Documentation

◆ RarLteControlMessage()

ns3::RarLteControlMessage::RarLteControlMessage ( void  )

Definition at line 199 of file lte-control-messages.cc.

References ns3::LteControlMessage::RAR, and ns3::LteControlMessage::SetMessageType().

+ Here is the call graph for this function:

Member Function Documentation

◆ AddRar()

void ns3::RarLteControlMessage::AddRar ( Rar  rar)

add a RAR to the MAC PDU, see 3GPP TS 36.321 6.2.3

Parameters
rarthe rar

Definition at line 219 of file lte-control-messages.cc.

References m_rarList.

◆ GetRaRnti()

uint16_t ns3::RarLteControlMessage::GetRaRnti ( ) const
Returns
the RA-RNTI, see 3GPP TS 36.321 5.1.4

Definition at line 212 of file lte-control-messages.cc.

References m_raRnti.

◆ RarListBegin()

std::list< RarLteControlMessage::Rar >::const_iterator ns3::RarLteControlMessage::RarListBegin ( ) const
Returns
a const iterator to the beginning of the RAR list

Definition at line 225 of file lte-control-messages.cc.

References m_rarList.

◆ RarListEnd()

std::list< RarLteControlMessage::Rar >::const_iterator ns3::RarLteControlMessage::RarListEnd ( ) const
Returns
a const iterator to the end of the RAR list

Definition at line 231 of file lte-control-messages.cc.

References m_rarList.

◆ SetRaRnti()

void ns3::RarLteControlMessage::SetRaRnti ( uint16_t  raRnti)
Parameters
raRntithe RA-RNTI, see 3GPP TS 36.321 5.1.4

Definition at line 206 of file lte-control-messages.cc.

References m_raRnti.

Member Data Documentation

◆ m_rarList

std::list<Rar> ns3::RarLteControlMessage::m_rarList
private

RAR list.

Definition at line 322 of file lte-control-messages.h.

Referenced by AddRar(), RarListBegin(), and RarListEnd().

◆ m_raRnti

uint16_t ns3::RarLteControlMessage::m_raRnti
private

RA RNTI.

Definition at line 323 of file lte-control-messages.h.

Referenced by GetRaRnti(), and SetRaRnti().


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