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

abstract model for the Random Access Preamble More...

#include "lte-control-messages.h"

+ Inheritance diagram for ns3::RachPreambleLteControlMessage:
+ Collaboration diagram for ns3::RachPreambleLteControlMessage:

Public Member Functions

 RachPreambleLteControlMessage ()
 
uint32_t GetRapId () const
 
void SetRapId (uint32_t rapid)
 Set the Random Access Preamble Identifier (RAPID), see 3GPP TS 36.321 6.2.2. More...
 
- Public Member Functions inherited from ns3::LteControlMessage
 LteControlMessage ()
 
virtual ~LteControlMessage ()
 
MessageType GetMessageType ()
 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 () const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o[[maybe_unused]])
 Assignment operator. More...
 
void Ref () const
 Increment the reference count. More...
 
void Unref () const
 Decrement the reference count. More...
 

Private Attributes

uint32_t m_rapId
 the RAPID 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 Random Access Preamble

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

Constructor & Destructor Documentation

◆ RachPreambleLteControlMessage()

ns3::RachPreambleLteControlMessage::RachPreambleLteControlMessage ( )

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

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

+ Here is the call graph for this function:

Member Function Documentation

◆ GetRapId()

uint32_t ns3::RachPreambleLteControlMessage::GetRapId ( ) const
Returns
the RAPID

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

References m_rapId.

◆ SetRapId()

void ns3::RachPreambleLteControlMessage::SetRapId ( uint32_t  rapid)

Set the Random Access Preamble Identifier (RAPID), see 3GPP TS 36.321 6.2.2.

Parameters
rapidthe RAPID

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

References m_rapId.

Member Data Documentation

◆ m_rapId

uint32_t ns3::RachPreambleLteControlMessage::m_rapId
private

the RAPID

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

Referenced by GetRapId(), and SetRapId().


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