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"
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... | |
SimpleRefCount & | operator= (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... | |
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.
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.
ns3::LteControlMessage::LteControlMessage | ( | ) |
Definition at line 32 of file lte-control-messages.cc.
|
virtual |
Definition at line 36 of file lte-control-messages.cc.
LteControlMessage::MessageType ns3::LteControlMessage::GetMessageType | ( | ) |
Get the type of the message.
Definition at line 47 of file lte-control-messages.cc.
References m_type.
void ns3::LteControlMessage::SetMessageType | ( | LteControlMessage::MessageType | type | ) |
Set the type of the message.
type | the type of the message |
Definition at line 41 of file lte-control-messages.cc.
References m_type, and check-style-clang-format::type.
Referenced by ns3::BsrLteControlMessage::BsrLteControlMessage(), ns3::DlCqiLteControlMessage::DlCqiLteControlMessage(), ns3::DlDciLteControlMessage::DlDciLteControlMessage(), ns3::DlHarqFeedbackLteControlMessage::DlHarqFeedbackLteControlMessage(), ns3::MibLteControlMessage::MibLteControlMessage(), ns3::RachPreambleLteControlMessage::RachPreambleLteControlMessage(), ns3::RarLteControlMessage::RarLteControlMessage(), ns3::Sib1LteControlMessage::Sib1LteControlMessage(), and ns3::UlDciLteControlMessage::UlDciLteControlMessage().
|
private |
message type
Definition at line 84 of file lte-control-messages.h.
Referenced by GetMessageType(), and SetMessageType().