A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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 AddRar (Rar rar)
 add a RAR to the MAC PDU, see 3GPP TS 36.321 6.2.3
 
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 ()
 
virtual ~LteControlMessage ()
 
MessageType GetMessageType ()
 Get the type of the message.
 
void SetMessageType (MessageType type)
 Set the type of the message.
 
- Public Member Functions inherited from ns3::SimpleRefCount< LteControlMessage >
 SimpleRefCount ()
 Default constructor.
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor.
 
uint32_t GetReferenceCount () const
 Get the reference count of the object.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 

Private Attributes

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

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 257 of file lte-control-messages.h.

Constructor & Destructor Documentation

◆ RarLteControlMessage()

ns3::RarLteControlMessage::RarLteControlMessage ( )

Definition at line 154 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 172 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 166 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 178 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 184 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 160 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 304 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 305 of file lte-control-messages.h.

Referenced by GetRaRnti(), and SetRaRnti().


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