A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::MibLteControlMessage Class Reference

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

#include "lte-control-messages.h"

+ Inheritance diagram for ns3::MibLteControlMessage:
+ Collaboration diagram for ns3::MibLteControlMessage:

Public Member Functions

 MibLteControlMessage ()
 Create a new instance of MIB control message.
 
LteRrcSap::MasterInformationBlock GetMib () const
 Retrieve the MIB content from this control message.
 
void SetMib (LteRrcSap::MasterInformationBlock mib)
 Replace the MIB content of this control message.
 
- Public Member Functions inherited from ns3::LteControlMessage
 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.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 

Private Attributes

LteRrcSap::MasterInformationBlock m_mib
 MIB.
 

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

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

MIB is transmitted by eNodeB RRC and received by UE RRC at every radio frame, i.e., every 10 milliseconds.

See also
LteEnbRrc::ConfigureCell, LteEnbPhy::StartFrame, LteUeRrc::DoRecvMasterInformationBlock

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

Constructor & Destructor Documentation

◆ MibLteControlMessage()

ns3::MibLteControlMessage::MibLteControlMessage ( )

Create a new instance of MIB control message.

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

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

+ Here is the call graph for this function:

Member Function Documentation

◆ GetMib()

LteRrcSap::MasterInformationBlock ns3::MibLteControlMessage::GetMib ( ) const

Retrieve the MIB content from this control message.

Returns
the current MIB content that this control message holds

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

References m_mib.

◆ SetMib()

void ns3::MibLteControlMessage::SetMib ( LteRrcSap::MasterInformationBlock mib)

Replace the MIB content of this control message.

Parameters
mibthe desired MIB content

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

References m_mib.

Member Data Documentation

◆ m_mib

LteRrcSap::MasterInformationBlock ns3::MibLteControlMessage::m_mib
private

MIB.

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

Referenced by GetMib(), and SetMib().


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