5#include <QtCore/QDateTime>
7#include <NDEVR/TimeSpan.h>
64 return std::pow(
static_cast<qreal
>(2),
static_cast<qreal
>(m_packet.
basic.
poll));
71 return std::pow(
static_cast<qreal
>(2),
static_cast<qreal
>(m_packet.
basic.
precision));
106 return m_destinationTime;
118 Time m_destinationTime;
Time referenceTime() const
Definition NtpReply.h:77
NtpMode mode() const
Definition NtpReply.h:49
Time transmitTime() const
Definition NtpReply.h:98
NtpLeapIndicator leapIndicator() const
Definition NtpReply.h:35
Time originTime() const
Definition NtpReply.h:84
quint8 stratum() const
Definition NtpReply.h:56
Time receiveTime() const
Definition NtpReply.h:91
quint8 versionNumber() const
Definition NtpReply.h:42
const NtpFullPacket & rawData() const
Definition NtpReply.h:112
Time destinationTime() const
Definition NtpReply.h:105
qreal pollInterval() const
Definition NtpReply.h:63
NtpReply()
Definition NtpReply.h:19
NtpReply(NtpFullPacket packet, Time destinationTime)
Definition NtpReply.h:27
qreal precision() const
Definition NtpReply.h:70
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
NtpLeapIndicator
Definition NtpEnums.h:7
NtpMode
Definition NtpEnums.h:17
Definition NtpPacket.h:80
NtpPacket basic
Definition NtpPacket.h:81
unsigned char leapIndicator
Definition NtpPacket.h:20
unsigned char versionNumber
Definition NtpPacket.h:16
unsigned char mode
Definition NtpPacket.h:13
qint8 poll
Definition NtpPacket.h:37
qint8 precision
Definition NtpPacket.h:40
NtpTimestamp receiveTimestamp
Definition NtpPacket.h:58
NtpTimestamp transmitTimestamp
Definition NtpPacket.h:61
NtpPacketFlags flags
Definition NtpPacket.h:31
NtpTimestamp referenceTimestamp
Definition NtpPacket.h:52
NtpTimestamp originateTimestamp
Definition NtpPacket.h:55
quint8 stratum
Definition NtpPacket.h:34
Time toTime() const
Definition NtpTimestamp.h:41