A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
LteRrcSap::SystemInformationBlockType1 GetSib1 () const
 Retrieve the SIB1 content from this control message.
 
void SetSib1 (LteRrcSap::SystemInformationBlockType1 sib1)
 Replace the SIB1 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::SystemInformationBlockType1 m_sib1
 SIB1.
 

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

Constructor & Destructor Documentation

◆ Sib1LteControlMessage()

ns3::Sib1LteControlMessage::Sib1LteControlMessage ( )

Create a new instance of SIB1 control message.

Definition at line 210 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 222 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 216 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 380 of file lte-control-messages.h.

Referenced by GetSib1(), and SetSib1().


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