C/N0 (CNI) estimation report message. More...
#include "satellite-control-message.h"
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. | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| methods derived from base classes | |
Private Attributes | |
| double | m_linkCNo |
| C/N0 estimate. | |
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.
| ns3::SatCnoReportMessage::SatCnoReportMessage | ( | ) |
Constructor for SatCnoReportMessage.
Definition at line 473 of file satellite-control-message.cc.
References m_linkCNo.
| ns3::SatCnoReportMessage::~SatCnoReportMessage | ( | ) |
Destructor for SatCnoReportMessage.
Definition at line 479 of file satellite-control-message.cc.
| double ns3::SatCnoReportMessage::GetCnoEstimate | ( | void | ) | const |
Get C/N0 estimate.
Definition at line 485 of file satellite-control-message.cc.
References m_linkCNo.
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 616 of file satellite-control-message.h.
References ns3::SatControlMsgTag::SAT_CN0_REPORT.
|
virtual |
Get real size of the CR message, which can be used to e.g.
simulate real size.
Implements ns3::SatControlMessage.
Definition at line 499 of file satellite-control-message.cc.
References m_linkCNo.
|
static |
methods derived from base classes
Definition at line 465 of file satellite-control-message.cc.
References ns3::SatControlMessage::SatControlMessage().
| void ns3::SatCnoReportMessage::SetCnoEstimate | ( | double | cno | ) |
Set C/N0 estimate.
| cno | The estimate of the C/N0. |
Definition at line 492 of file satellite-control-message.cc.
References m_linkCNo.
|
private |
C/N0 estimate.
Definition at line 643 of file satellite-control-message.h.
Referenced by SatCnoReportMessage(), GetCnoEstimate(), GetSizeInBytes(), and SetCnoEstimate().