This control message is used to broadcast NCR date to UTs. More...
#include "satellite-control-message.h"
Public Member Functions | |
SatNcrMessage () | |
Constructor for SatNcrMessage. More... | |
~SatNcrMessage () | |
Destructor for SatNcrMessage. More... | |
virtual TypeId | GetInstanceTypeId (void) const |
Get the type ID of instance. More... | |
SatControlMsgTag::SatControlMsgType_t | GetMsgType () const |
Get type of the message. More... | |
uint64_t | GetNcrDate () const |
Get the NCR date (ticks 27MHz). More... | |
virtual uint32_t | GetSizeInBytes () const |
Get real size of the message. More... | |
void | SetNcrDate (uint64_t ncr) |
Set the NCR date (ticks 27MHz). More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
methods derived from base classes More... | |
Private Attributes | |
uint64_t | m_ncrDateBase |
uint16_t | m_ncrDateExtension |
This control message is used to broadcast NCR date to UTs.
Definition at line 1199 of file satellite-control-message.h.
ns3::SatNcrMessage::SatNcrMessage | ( | ) |
Constructor for SatNcrMessage.
Definition at line 1049 of file satellite-control-message.cc.
ns3::SatNcrMessage::~SatNcrMessage | ( | ) |
Destructor for SatNcrMessage.
Definition at line 1054 of file satellite-control-message.cc.
|
virtual |
Get the type ID of instance.
Definition at line 1042 of file satellite-control-message.cc.
References GetTypeId().
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 1228 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 1068 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 1075 of file satellite-control-message.cc.
|
static |
methods derived from base classes
Definition at line 1034 of file satellite-control-message.cc.
Referenced by GetInstanceTypeId().
void ns3::SatNcrMessage::SetNcrDate | ( | uint64_t | ncr | ) |
Set the NCR date (ticks 27MHz).
ncr | The new NCR date |
Definition at line 1060 of file satellite-control-message.cc.
References m_ncrDateBase, and m_ncrDateExtension.
|
private |
Definition at line 1252 of file satellite-control-message.h.
Referenced by GetNcrDate(), and SetNcrDate().
|
private |
Definition at line 1253 of file satellite-control-message.h.
Referenced by GetNcrDate(), and SetNcrDate().