|
QGroundControl
Ground Control Station for MAVLink Drones
|
Byte streams preserve the producer receipt time across buffering and decoding. More...
#include <ReadTimestamp.h>
Public Member Functions | |
| virtual | ~ReadTimestamp ()=default |
| virtual quint64 | lastReadTimestampUs () const =0 |
Static Public Member Functions | |
| static quint64 | nowUs () |
| static quint64 | from (const QIODevice *device, quint64 fallbackTimestampUs=nowUs()) |
Byte streams preserve the producer receipt time across buffering and decoding.
Definition at line 8 of file ReadTimestamp.h.
|
virtualdefault |
|
inlinestatic |
Provider and fallback timestamps must use the consumer's monotonic clock domain. A provider's zero timestamp remains unknown; it must not become a fresh receipt.
Definition at line 18 of file ReadTimestamp.h.
References lastReadTimestampUs().
|
pure virtual |
Referenced by from().
|
inlinestatic |
Definition at line 11 of file ReadTimestamp.h.
References MonotonicClock::nowUs().