This control message is used to broadcast NCR date to UTs. More...
#include "satellite-control-message.h"
Public Member Functions | |
| SatNcrMessage () | |
| Constructor for SatNcrMessage. | |
| ~SatNcrMessage () | |
| Destructor for SatNcrMessage. | |
| SatControlMsgTag::SatControlMsgType_t | GetMsgType () const |
| Get type of the message. | |
| uint64_t | GetNcrDate () const |
| Get the NCR date (ticks 27MHz). | |
| virtual uint32_t | GetSizeInBytes () const |
| Get real size of the message. | |
| void | SetNcrDate (uint64_t ncr) |
| Set the NCR date (ticks 27MHz). | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| methods derived from base classes | |
Private Attributes | |
| uint64_t | m_ncrDateBase |
| uint16_t | m_ncrDateExtension |
This control message is used to broadcast NCR date to UTs.
Definition at line 1133 of file satellite-control-message.h.
| ns3::SatNcrMessage::SatNcrMessage | ( | ) |
Constructor for SatNcrMessage.
Definition at line 953 of file satellite-control-message.cc.
| ns3::SatNcrMessage::~SatNcrMessage | ( | ) |
Destructor for SatNcrMessage.
Definition at line 958 of file satellite-control-message.cc.
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 1156 of file satellite-control-message.h.
References ns3::SatControlMsgTag::SAT_NCR_CTRL_MSG.
| uint64_t ns3::SatNcrMessage::GetNcrDate | ( | ) | const |
Get the NCR date (ticks 27MHz).
Definition at line 972 of file satellite-control-message.cc.
References m_ncrDateBase, and m_ncrDateExtension.
|
virtual |
Get real size of the message.
Implements ns3::SatControlMessage.
Definition at line 979 of file satellite-control-message.cc.
|
static |
methods derived from base classes
Definition at line 946 of file satellite-control-message.cc.
References ns3::SatControlMessage::SatControlMessage().
| void ns3::SatNcrMessage::SetNcrDate | ( | uint64_t | ncr | ) |
Set the NCR date (ticks 27MHz).
| ncr | The new NCR date |
Definition at line 964 of file satellite-control-message.cc.
References m_ncrDateBase, and m_ncrDateExtension.
|
private |
Definition at line 1180 of file satellite-control-message.h.
Referenced by GetNcrDate(), and SetNcrDate().
|
private |
Definition at line 1181 of file satellite-control-message.h.
Referenced by GetNcrDate(), and SetNcrDate().