A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 (void)
 Create a new instance of MIB control message. More...
 
LteRrcSap::MasterInformationBlock GetMib () const
 Retrieve the MIB content from this control message. More...
 
void SetMib (LteRrcSap::MasterInformationBlock mib)
 Replace the MIB content of this control 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 ()
 Constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 

Private Attributes

LteRrcSap::MasterInformationBlock m_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...
 
- Static Public Member Functions inherited from ns3::SimpleRefCount< LteControlMessage >
static void Cleanup (void)
 Noop. 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 341 of file lte-control-messages.h.

Constructor & Destructor Documentation

ns3::MibLteControlMessage::MibLteControlMessage ( void  )

Create a new instance of MIB control message.

Definition at line 242 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

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 255 of file lte-control-messages.cc.

References m_mib.

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

Replace the MIB content of this control message.

Parameters
mibthe desired MIB content

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

References m_mib.

Member Data Documentation

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

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

Referenced by GetMib(), and SetMib().


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