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. | |
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. | |
SimpleRefCount & | operator= (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 | |
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.
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.
ns3::LteControlMessage::LteControlMessage | ( | ) |
Definition at line 21 of file lte-control-messages.cc.
|
virtual |
Definition at line 25 of file lte-control-messages.cc.
LteControlMessage::MessageType ns3::LteControlMessage::GetMessageType | ( | ) |
Get the type of the message.
Definition at line 36 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 30 of file lte-control-messages.cc.
References m_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 73 of file lte-control-messages.h.
Referenced by GetMessageType(), and SetMessageType().