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 (void)
 
virtual ~LteControlMessage (void)
 
MessageType GetMessageType (void)
 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)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) 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 43 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 54 of file lte-control-messages.h.

Constructor & Destructor Documentation

◆ LteControlMessage()

ns3::LteControlMessage::LteControlMessage ( void  )

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

◆ ~LteControlMessage()

ns3::LteControlMessage::~LteControlMessage ( void  )
virtual

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

Member Function Documentation

◆ GetMessageType()

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

Get the type of the message.

Returns
the type of the message

Definition at line 51 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 81 of file lte-control-messages.h.

Referenced by GetMessageType(), and SetMessageType().


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