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

MessageType m_type
 message type
 

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

Constructor & Destructor Documentation

◆ LteControlMessage()

ns3::LteControlMessage::LteControlMessage ( )

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

◆ ~LteControlMessage()

ns3::LteControlMessage::~LteControlMessage ( )
virtual

Definition at line 25 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 36 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 73 of file lte-control-messages.h.

Referenced by GetMessageType(), and SetMessageType().


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