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

The uplink BsrLteControlMessage defines the specific extension of the CE element for reporting the buffer status report. More...

#include "lte-control-messages.h"

+ Inheritance diagram for ns3::BsrLteControlMessage:
+ Collaboration diagram for ns3::BsrLteControlMessage:

Public Member Functions

 BsrLteControlMessage ()
 
 ~BsrLteControlMessage () override
 
MacCeListElement_s GetBsr ()
 Get BSR information. More...
 
void SetBsr (MacCeListElement_s bsr)
 add a BSR feedback record into the message. More...
 
- Public Member Functions inherited from ns3::LteControlMessage
 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

MacCeListElement_s m_bsr
 BSR. More...
 

Additional Inherited Members

- Public Types inherited from ns3::LteControlMessage
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...
 

Detailed Description

The uplink BsrLteControlMessage defines the specific extension of the CE element for reporting the buffer status report.

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

Constructor & Destructor Documentation

◆ BsrLteControlMessage()

ns3::BsrLteControlMessage::BsrLteControlMessage ( )

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

References ns3::LteControlMessage::BSR, and ns3::LteControlMessage::SetMessageType().

+ Here is the call graph for this function:

◆ ~BsrLteControlMessage()

ns3::BsrLteControlMessage::~BsrLteControlMessage ( )
override

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

Member Function Documentation

◆ GetBsr()

MacCeListElement_s ns3::BsrLteControlMessage::GetBsr ( )

Get BSR information.

Returns
BSR message

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

References m_bsr.

◆ SetBsr()

void ns3::BsrLteControlMessage::SetBsr ( MacCeListElement_s  bsr)

add a BSR feedback record into the message.

Parameters
bsrthe BSR feedback

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

References m_bsr.

Member Data Documentation

◆ m_bsr

MacCeListElement_s ns3::BsrLteControlMessage::m_bsr
private

BSR.

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

Referenced by GetBsr(), and SetBsr().


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