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

C/N0 (CNI) estimation report message. More...

#include "satellite-control-message.h"

Inheritance diagram for ns3::SatCnoReportMessage:
Collaboration diagram for ns3::SatCnoReportMessage:

Public Member Functions

 SatCnoReportMessage ()
 Constructor for SatCnoReportMessage.
 ~SatCnoReportMessage ()
 Destructor for SatCnoReportMessage.
double GetCnoEstimate () const
 Get C/N0 estimate.
SatControlMsgTag::SatControlMsgType_t GetMsgType () const
 Get type of the message.
virtual uint32_t GetSizeInBytes () const
 Get real size of the CR message, which can be used to e.g.
void SetCnoEstimate (double cno)
 Set C/N0 estimate.
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

double m_linkCNo
 C/N0 estimate.

Detailed Description

C/N0 (CNI) estimation report message.

(Tagged by SatControlMsgTag with type value SAT_CN0_REPORT)

This message is sent periodically by UT to GW. Or by ground entities to SAT

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

Constructor & Destructor Documentation

◆ SatCnoReportMessage()

ns3::SatCnoReportMessage::SatCnoReportMessage ( )

Constructor for SatCnoReportMessage.

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

References m_linkCNo.

◆ ~SatCnoReportMessage()

ns3::SatCnoReportMessage::~SatCnoReportMessage ( )

Destructor for SatCnoReportMessage.

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

Member Function Documentation

◆ GetCnoEstimate()

double ns3::SatCnoReportMessage::GetCnoEstimate ( void ) const

Get C/N0 estimate.

Returns
Estimate of the C/N0.

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

References m_linkCNo.

◆ GetMsgType()

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

Get type of the message.

Returns
SatControlMsgTag::SAT_CN0_REPORT

Implements ns3::SatControlMessage.

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

References ns3::SatControlMsgTag::SAT_CN0_REPORT.

◆ GetSizeInBytes()

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

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

simulate real size.

Returns
Real size of the CR message.

Implements ns3::SatControlMessage.

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

References m_linkCNo.

◆ GetTypeId()

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

methods derived from base classes

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

References ns3::SatControlMessage::SatControlMessage().

Here is the call graph for this function:

◆ SetCnoEstimate()

void ns3::SatCnoReportMessage::SetCnoEstimate ( double cno)

Set C/N0 estimate.

Parameters
cnoThe estimate of the C/N0.

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

References m_linkCNo.

Member Data Documentation

◆ m_linkCNo

double ns3::SatCnoReportMessage::m_linkCNo
private

C/N0 estimate.

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

Referenced by SatCnoReportMessage(), GetCnoEstimate(), GetSizeInBytes(), and SetCnoEstimate().


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