|
QGroundControl
Ground Control Station for MAVLink Drones
|
Frames RTCM bytes while retaining the first fragment's monotonic receipt time. More...
#include <RTCMFramer.h>
Public Member Functions | |
| RTCMFrameDecoder () | |
| ~RTCMFrameDecoder () | |
| std::optional< RTCMDecodedFrame > | addByte (uint8_t byte, qint64 receivedAtMs) |
| std::optional< RTCMDecodedFrame > | nextFrame () |
| Drain after addByte() returns a result, before feeding more bytes. | |
| void | reset () |
| template<typename Deliver > | |
| bool | feed (QByteArrayView bytes, qint64 receivedAtMs, Deliver &&deliver) |
| void | setWhitelist (const QVector< int > &ids) |
Frames RTCM bytes while retaining the first fragment's monotonic receipt time.
Definition at line 101 of file RTCMFramer.h.
| RTCMFrameDecoder::RTCMFrameDecoder | ( | ) |
Definition at line 11 of file RTCMFramer.cc.
| RTCMFrameDecoder::~RTCMFrameDecoder | ( | ) |
Definition at line 16 of file RTCMFramer.cc.
| std::optional< RTCMDecodedFrame > RTCMFrameDecoder::addByte | ( | uint8_t | byte, |
| qint64 | receivedAtMs | ||
| ) |
Definition at line 120 of file RTCMFramer.cc.
References RTCMFramer::addByte().
Referenced by feed().
|
inline |
Frames bytes, delivering each completed frame. A delivery that returns false, because it ended the stream or retired its owner, stops framing at once; feed() then returns false.
Definition at line 115 of file RTCMFramer.h.
References addByte(), and nextFrame().
| std::optional< RTCMDecodedFrame > RTCMFrameDecoder::nextFrame | ( | ) |
Drain after addByte() returns a result, before feeding more bytes.
Definition at line 130 of file RTCMFramer.cc.
References RTCMFramer::nextFrame().
Referenced by feed().
| void RTCMFrameDecoder::reset | ( | ) |
Definition at line 149 of file RTCMFramer.cc.
References RTCMFramer::reset().
|
inline |
Definition at line 127 of file RTCMFramer.h.
Referenced by NTRIPHttpTransport::setRtcmWhitelist().