Loading...
Searching...
No Matches
ns3::SatHandoverRecommendationMessage Class Reference

Handover recommendation control message (Tagged by SatControlMsgTag with type value SAT_HR_CTRL_MSG). More...

#include "satellite-control-message.h"

Inheritance diagram for ns3::SatHandoverRecommendationMessage:
Collaboration diagram for ns3::SatHandoverRecommendationMessage:

Public Member Functions

 SatHandoverRecommendationMessage ()
 Constructor for SatRaMessage.
 ~SatHandoverRecommendationMessage ()
 Destructor for SatRaMessage.
SatControlMsgTag::SatControlMsgType_t GetMsgType () const
 Get type of the message.
uint32_t GetRecommendedBeamId () const
 Get the recommended beam ID.
uint32_t GetRecommendedSatId () const
 Get the recommended sat ID.
virtual uint32_t GetSizeInBytes () const
 Get real size of the random access message, which can be used to e.g.
void SetRecommendedBeamId (uint32_t beamId)
 Set recommended beam ID.
void SetRecommendedSatId (uint32_t beamId)
 Set recommended sat ID.
Public Member Functions inherited from ns3::SatControlMessage
 SatControlMessage ()
 Default constructor for SatControlMessage.
 ~SatControlMessage ()
 Destructor.

Static Public Member Functions

static TypeId GetTypeId (void)
 methods derived from base classes
Static Public Member Functions inherited from ns3::SatControlMessage
static TypeId GetTypeId (void)
 methods derived from base classes

Private Attributes

uint32_t m_beamId
 Recommended beam ID.
uint32_t m_satId
 Recommended sat ID.

Detailed Description

Handover recommendation control message (Tagged by SatControlMsgTag with type value SAT_HR_CTRL_MSG).

Definition at line 844 of file satellite-control-message.h.

Constructor & Destructor Documentation

◆ SatHandoverRecommendationMessage()

ns3::SatHandoverRecommendationMessage::SatHandoverRecommendationMessage ( )

Constructor for SatRaMessage.

Definition at line 736 of file satellite-control-message.cc.

References m_beamId, and m_satId.

◆ ~SatHandoverRecommendationMessage()

ns3::SatHandoverRecommendationMessage::~SatHandoverRecommendationMessage ( )

Destructor for SatRaMessage.

Definition at line 743 of file satellite-control-message.cc.

Member Function Documentation

◆ GetMsgType()

SatControlMsgTag::SatControlMsgType_t ns3::SatHandoverRecommendationMessage::GetMsgType ( ) const
inlinevirtual

Get type of the message.

Returns
SatControlMsgTag::SAT_HR_CTRL_MSG

Implements ns3::SatControlMessage.

Definition at line 867 of file satellite-control-message.h.

References ns3::SatControlMsgTag::SAT_HR_CTRL_MSG.

◆ GetRecommendedBeamId()

uint32_t ns3::SatHandoverRecommendationMessage::GetRecommendedBeamId ( ) const

Get the recommended beam ID.

Returns
Recommended beam ID

Definition at line 756 of file satellite-control-message.cc.

References m_beamId.

◆ GetRecommendedSatId()

uint32_t ns3::SatHandoverRecommendationMessage::GetRecommendedSatId ( ) const

Get the recommended sat ID.

Returns
Recommended sat ID

Definition at line 769 of file satellite-control-message.cc.

References m_satId.

◆ GetSizeInBytes()

uint32_t ns3::SatHandoverRecommendationMessage::GetSizeInBytes ( ) const
virtual

Get real size of the random access message, which can be used to e.g.

simulate real size.

Returns
Real size of the random access message.

Implements ns3::SatControlMessage.

Definition at line 775 of file satellite-control-message.cc.

◆ GetTypeId()

TypeId ns3::SatHandoverRecommendationMessage::GetTypeId ( void )
static

methods derived from base classes

Definition at line 728 of file satellite-control-message.cc.

References ns3::SatControlMessage::SatControlMessage().

Here is the call graph for this function:

◆ SetRecommendedBeamId()

void ns3::SatHandoverRecommendationMessage::SetRecommendedBeamId ( uint32_t beamId)

Set recommended beam ID.

Parameters
beamIdRecommended beam ID

Definition at line 749 of file satellite-control-message.cc.

References m_beamId.

◆ SetRecommendedSatId()

void ns3::SatHandoverRecommendationMessage::SetRecommendedSatId ( uint32_t beamId)

Set recommended sat ID.

Parameters
beamIdRecommended sat ID

Definition at line 762 of file satellite-control-message.cc.

References m_satId.

Member Data Documentation

◆ m_beamId

uint32_t ns3::SatHandoverRecommendationMessage::m_beamId
private

Recommended beam ID.

Definition at line 906 of file satellite-control-message.h.

Referenced by SatHandoverRecommendationMessage(), GetRecommendedBeamId(), and SetRecommendedBeamId().

◆ m_satId

uint32_t ns3::SatHandoverRecommendationMessage::m_satId
private

Recommended sat ID.

Definition at line 911 of file satellite-control-message.h.

Referenced by SatHandoverRecommendationMessage(), GetRecommendedSatId(), and SetRecommendedSatId().


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