|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <RTCMUdpInput.h>
Inheritance diagram for RTCMUdpInput:
Collaboration diagram for RTCMUdpInput:Signals | |
| void | frameReceived (const QString &sender, const QByteArray &data, qint64 receivedAtMs) |
| A valid frame from sender, the sender's address, stamped receivedAtMs with the scheduler's time. | |
Public Member Functions | |
| RTCMUdpInput (QObject *parent=nullptr, RuntimeScheduler *scheduler=nullptr) | |
| ~RTCMUdpInput () override | |
| bool | start (quint16 port, QString *errorString=nullptr) |
| void | stop () |
Receives RTCM datagrams with bounded work and independent framing for each sender. Valid frames are emitted complete and stamped with the scheduler's time; candidates that fail framing or CRC are dropped.
Definition at line 18 of file RTCMUdpInput.h.
|
explicit |
Definition at line 27 of file RTCMUdpInput.cc.
|
override |
Definition at line 34 of file RTCMUdpInput.cc.
References stop().
|
signal |
A valid frame from sender, the sender's address, stamped receivedAtMs with the scheduler's time.
| bool RTCMUdpInput::start | ( | quint16 | port, |
| QString * | errorString = nullptr |
||
| ) |
Listens on port with fresh framing state, replacing any current socket; port zero requests an ephemeral port. When binding fails, errorString receives the reason.
Definition at line 40 of file RTCMUdpInput.cc.
References errorString, and stop().
| void RTCMUdpInput::stop | ( | ) |
Definition at line 61 of file RTCMUdpInput.cc.
Referenced by GPSCorrectionManager::shutdown(), start(), and ~RTCMUdpInput().