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 (void)
 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 (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)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (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

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

Constructor & Destructor Documentation

◆ Sib1LteControlMessage()

ns3::Sib1LteControlMessage::Sib1LteControlMessage ( void  )

Create a new instance of SIB1 control message.

Definition at line 264 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 277 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 271 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 401 of file lte-control-messages.h.

Referenced by GetSib1(), and SetSib1().


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