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

Abstract model for broadcasting the System Information Block Type 1 (SIB1) within the control channel (BCCH). More...

#include "lte-control-messages.h"

+ Inheritance diagram for ns3::Sib1LteControlMessage:
+ Collaboration diagram for ns3::Sib1LteControlMessage:

Public Member Functions

 Sib1LteControlMessage ()
 Create a new instance of SIB1 control message. More...
 
LteRrcSap::SystemInformationBlockType1 GetSib1 () const
 Retrieve the SIB1 content from this control message. More...
 
void SetSib1 (LteRrcSap::SystemInformationBlockType1 sib1)
 Replace the SIB1 content of this control 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

LteRrcSap::SystemInformationBlockType1 m_sib1
 SIB1. 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

Abstract model for broadcasting the System Information Block Type 1 (SIB1) within the control channel (BCCH).

SIB1 is transmitted by eNodeB RRC and received by UE RRC at the 6th subframe of every odd-numbered radio frame, i.e., every 20 milliseconds.

See also
LteEnbRrc::SetSystemInformationBlockType1, LteEnbPhy::StartSubFrame, LteUeRrc::DoRecvSystemInformationBlockType1

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

Constructor & Destructor Documentation

◆ Sib1LteControlMessage()

ns3::Sib1LteControlMessage::Sib1LteControlMessage ( )

Create a new instance of SIB1 control message.

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

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

+ Here is the call graph for this function:

Member Function Documentation

◆ GetSib1()

LteRrcSap::SystemInformationBlockType1 ns3::Sib1LteControlMessage::GetSib1 ( ) const

Retrieve the SIB1 content from this control message.

Returns
the current SIB1 content that this control message holds

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

References m_sib1.

◆ SetSib1()

void ns3::Sib1LteControlMessage::SetSib1 ( LteRrcSap::SystemInformationBlockType1  sib1)

Replace the SIB1 content of this control message.

Parameters
sib1the desired SIB1 content

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

References m_sib1.

Member Data Documentation

◆ m_sib1

LteRrcSap::SystemInformationBlockType1 ns3::Sib1LteControlMessage::m_sib1
private

SIB1.

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

Referenced by GetSib1(), and SetSib1().


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