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. More... | |
| ~SatCnoReportMessage () | |
| Destructor for SatCnoReportMessage. More... | |
| double | GetCnoEstimate () const |
| Get C/N0 estimate. More... | |
| virtual TypeId | GetInstanceTypeId (void) const |
| Get the type ID of instance. More... | |
| SatControlMsgTag::SatControlMsgType_t | GetMsgType () const |
| Get type of the message. More... | |
| virtual uint32_t | GetSizeInBytes () const |
| Get real size of the CR message, which can be used to e.g. More... | |
| void | SetCnoEstimate (double cno) |
| Set C/N0 estimate. More... | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| methods derived from base classes More... | |
Private Attributes | |
| double | m_linkCNo |
| C/N0 estimate. More... | |
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 611 of file satellite-control-message.h.
| ns3::SatCnoReportMessage::SatCnoReportMessage | ( | ) |
Constructor for SatCnoReportMessage.
Definition at line 497 of file satellite-control-message.cc.
| ns3::SatCnoReportMessage::~SatCnoReportMessage | ( | ) |
Destructor for SatCnoReportMessage.
Definition at line 503 of file satellite-control-message.cc.
| double ns3::SatCnoReportMessage::GetCnoEstimate | ( | void | ) | const |
Get C/N0 estimate.
Definition at line 509 of file satellite-control-message.cc.
References m_linkCNo.
|
virtual |
Get the type ID of instance.
Definition at line 490 of file satellite-control-message.cc.
References GetTypeId().
Here is the call graph for this function:
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 640 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 523 of file satellite-control-message.cc.
References m_linkCNo.
|
static |
methods derived from base classes
Definition at line 481 of file satellite-control-message.cc.
Referenced by GetInstanceTypeId().
Here is the caller graph for this function:| void ns3::SatCnoReportMessage::SetCnoEstimate | ( | double | cno | ) |
Set C/N0 estimate.
| cno | The estimate of the C/N0. |
Definition at line 516 of file satellite-control-message.cc.
References m_linkCNo.
|
private |
C/N0 estimate.
Definition at line 667 of file satellite-control-message.h.
Referenced by GetCnoEstimate(), GetSizeInBytes(), and SetCnoEstimate().