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

The LteControlMessage provides a basic implementations for control messages (such as PDCCH allocation map, CQI feedbacks) that are exchanged among eNodeB and UEs. More...

#include "lte-control-messages.h"

+ Inheritance diagram for ns3::LteControlMessage:
+ Collaboration diagram for ns3::LteControlMessage:

Public Types

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...
 

Public Member Functions

 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

MessageType m_type
 message type More...
 

Detailed Description

The LteControlMessage provides a basic implementations for control messages (such as PDCCH allocation map, CQI feedbacks) that are exchanged among eNodeB and UEs.

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

Member Enumeration Documentation

◆ MessageType

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.

When new messaged have to been added, consider to update the switch statement implementing the filtering.

Enumerator
DL_DCI 
UL_DCI 
DL_CQI 
UL_CQI 
BSR 
DL_HARQ 
RACH_PREAMBLE 
RAR 
MIB 
SIB1 

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

Constructor & Destructor Documentation

◆ LteControlMessage()

ns3::LteControlMessage::LteControlMessage ( )

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

◆ ~LteControlMessage()

ns3::LteControlMessage::~LteControlMessage ( )
virtual

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

Member Function Documentation

◆ GetMessageType()

LteControlMessage::MessageType ns3::LteControlMessage::GetMessageType ( )

Get the type of the message.

Returns
the type of the message

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

References m_type.

◆ SetMessageType()

Member Data Documentation

◆ m_type

MessageType ns3::LteControlMessage::m_type
private

message type

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

Referenced by GetMessageType(), and SetMessageType().


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