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:79
NtpPacket basic
Definition NtpPacket.h:80
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:36
qint8 precision
Definition NtpPacket.h:39
NtpTimestamp receiveTimestamp
Definition NtpPacket.h:57
NtpTimestamp transmitTimestamp
Definition NtpPacket.h:60
NtpPacketFlags flags
Definition NtpPacket.h:30
NtpTimestamp referenceTimestamp
Definition NtpPacket.h:51
NtpTimestamp originateTimestamp
Definition NtpPacket.h:54
quint8 stratum
Definition NtpPacket.h:33
Time toTime() const
Definition NtpTimestamp.h:43