5G-LENA nr-v3.3-161-gad18933f
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrMibMessage Class Reference

Abstract model for broadcasting the Master Information Block (MIB) within the control channel (BCCH). More...

#include "nr-control-messages.h"

+ Inheritance diagram for ns3::NrMibMessage:
+ Collaboration diagram for ns3::NrMibMessage:

Public Member Functions

 NrMibMessage ()
 Create a new instance of MIB control message.
 
NrRrcSap::MasterInformationBlock GetMib () const
 Retrieve the MIB content from this control message.
 
void SetMib (NrRrcSap::MasterInformationBlock mib)
 Replace the MIB content of this control message.
 
- Public Member Functions inherited from ns3::NrControlMessage
 NrControlMessage ()
 NrControlMessage.
 
virtual ~NrControlMessage ()
 ~NrControlMessage
 
messageType GetMessageType () const
 Get the MessageType.
 
uint16_t GetSourceBwp () const
 
void SetSourceBwp (uint16_t bwpId)
 Set the BWP in which this message has been generated.
 

Additional Inherited Members

- Public Types inherited from ns3::NrControlMessage
enum  messageType {
  UL_DCI , DL_DCI , DL_CQI , MIB ,
  SIB1 , RACH_PREAMBLE , RAR , BSR ,
  DL_HARQ , SR , SRS
}
 The Message Type. More...
 
- Protected Member Functions inherited from ns3::NrControlMessage
void SetMessageType (messageType type)
 Set the MessageType.
 

Detailed Description

Abstract model for broadcasting the Master Information Block (MIB) within the control channel (BCCH).

Definition at line 313 of file nr-control-messages.h.

Constructor & Destructor Documentation

◆ NrMibMessage()

ns3::NrMibMessage::NrMibMessage ( )

Create a new instance of MIB control message.

Definition at line 192 of file nr-control-messages.cc.

References ns3::NrControlMessage::MIB, and ns3::NrControlMessage::SetMessageType().

+ Here is the call graph for this function:

Member Function Documentation

◆ GetMib()

NrRrcSap::MasterInformationBlock ns3::NrMibMessage::GetMib ( ) const

Retrieve the MIB content from this control message.

Returns
the current MIB content that this control message holds

Definition at line 204 of file nr-control-messages.cc.

◆ SetMib()

void ns3::NrMibMessage::SetMib ( NrRrcSap::MasterInformationBlock  mib)

Replace the MIB content of this control message.

Parameters
mibthe desired MIB content

Definition at line 198 of file nr-control-messages.cc.


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