|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <GPSProtocolRuntime.h>
Collaboration diagram for GPSRuntimeIO:Public Attributes | |
| std::function< GPSReadResult(std::span< uint8_t >, GPSDeadline)> | read {} |
| std::function< GPSWriteResult(std::span< const uint8_t >, GPSDeadline)> | write {} |
| std::function< GPSBaudStatus(unsigned)> | setBaudrate {} |
| GPSClock | clock {} |
| Without a wait, the runtime sleeps in short slices until the duration elapses or cancelToken is cancelled. | |
| GPSCancelToken | cancelToken {} |
| Checked before each write and baud change; reads observe it in the transport. | |
Blocking transport services. Protocol code never calls these directly: it calls GPSCommandChannel operations, which apply deadlines, evidence and sticky failure around each call. A missing read fails, a missing write or baud change is unsupported.
Definition at line 23 of file GPSProtocolRuntime.h.
| GPSCancelToken GPSRuntimeIO::cancelToken {} |
Checked before each write and baud change; reads observe it in the transport.
Definition at line 31 of file GPSProtocolRuntime.h.
Referenced by GPSDriver::configure(), GPSProtocolRuntime::GPSProtocolRuntime(), and GPSCommandChannel::write().
| GPSClock GPSRuntimeIO::clock {} |
Without a wait, the runtime sleeps in short slices until the duration elapses or cancelToken is cancelled.
Definition at line 29 of file GPSProtocolRuntime.h.
Referenced by GPSDriver::configure(), GPSReceiverDetector::detect(), GPSProtocolRuntime::GPSProtocolRuntime(), and GPSCommandChannel::wait().
| std::function<GPSReadResult(std::span<uint8_t>, GPSDeadline)> GPSRuntimeIO::read {} |
Definition at line 25 of file GPSProtocolRuntime.h.
Referenced by GPSDriver::configure(), GPSProtocolRuntime::GPSProtocolRuntime(), GPSReceiverDetector::GPSReceiverDetector(), and GPSCommandChannel::read().
| std::function<GPSBaudStatus(unsigned)> GPSRuntimeIO::setBaudrate {} |
Definition at line 27 of file GPSProtocolRuntime.h.
Referenced by GPSDriver::configure(), GPSReceiverDetector::detect(), and GPSProtocolRuntime::GPSProtocolRuntime().
| std::function<GPSWriteResult(std::span<const uint8_t>, GPSDeadline)> GPSRuntimeIO::write {} |
Definition at line 26 of file GPSProtocolRuntime.h.
Referenced by GPSDriver::configure(), GPSProtocolRuntime::GPSProtocolRuntime(), and GPSCommandChannel::write().