QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSClock Struct Reference

The monotonic clock receiver sessions run on: the steady clock unless tests inject a virtual one. More...

#include <GPSClock.h>

Public Attributes

std::function< uint64_t()> nowUs = MonotonicClock::nowUs
std::function< bool(std::chrono::microseconds)> wait {}
 Waits duration on this clock; false when the wait was cancelled. Empty means a real wait.

Detailed Description

The monotonic clock receiver sessions run on: the steady clock unless tests inject a virtual one.

Definition at line 10 of file GPSClock.h.

Member Data Documentation

◆ nowUs

std::function<uint64_t()> GPSClock::nowUs = MonotonicClock::nowUs

Definition at line 12 of file GPSClock.h.

◆ wait

std::function<bool(std::chrono::microseconds)> GPSClock::wait {}

Waits duration on this clock; false when the wait was cancelled. Empty means a real wait.

Definition at line 14 of file GPSClock.h.


The documentation for this struct was generated from the following file: