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 (void)
 
virtual ~BsrLteControlMessage (void)
 
MacCeListElement_s GetBsr (void)
 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 (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[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= ([[maybe_unused]] 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

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

Constructor & Destructor Documentation

◆ BsrLteControlMessage()

ns3::BsrLteControlMessage::BsrLteControlMessage ( void  )

Definition at line 148 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 ( void  )
virtual

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

Member Function Documentation

◆ GetBsr()

MacCeListElement_s ns3::BsrLteControlMessage::GetBsr ( void  )

Get BSR information.

Returns
BSR message

Definition at line 168 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 160 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 201 of file lte-control-messages.h.

Referenced by GetBsr(), and SetBsr().


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