A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
- 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

uint32_t m_rapId
 the RAPID
 

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

Constructor & Destructor Documentation

◆ RachPreambleLteControlMessage()

ns3::RachPreambleLteControlMessage::RachPreambleLteControlMessage ( )

Definition at line 135 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 147 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 141 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 247 of file lte-control-messages.h.

Referenced by GetRapId(), and SetRapId().


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