|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <NTRIPSourceTable.h>
Public Member Functions | |
| void | updateDistance (const QGeoCoordinate &from) |
Static Public Member Functions | |
| static bool | fromSourceTableLine (const QString &line, NTRIPMountpoint &out) |
Public Attributes | |
| QString | mountpoint |
| QString | identifier |
| QString | format |
| QString | formatDetails |
| int | carrier = 0 |
| QString | navSystem |
| QString | network |
| QString | country |
| double | latitude = 0.0 |
| double | longitude = 0.0 |
| bool | nmea = false |
| bool | solution = false |
| QString | generator |
| QString | compression |
| QString | authentication |
| bool | fee = false |
| int | bitrate = 0 |
| double | distanceKm = -1.0 |
Parsed NTRIP source-table STR row. Plain value type — all fields are immutable after parse except distanceKm, which is recomputed by updateDistances().
Definition at line 13 of file NTRIPSourceTable.h.
|
static |
Parse one source-table line ("STR;..."). Returns true and fills out on a valid STR row; returns false (out untouched) otherwise.
Definition at line 10 of file NTRIPSourceTable.cc.
References authentication, bitrate, carrier, compression, country, fee, format, formatDetails, generator, identifier, latitude, longitude, mountpoint, navSystem, network, nmea, and solution.
Referenced by NTRIPSourceTableModel::parseSourceTable().
| void NTRIPMountpoint::updateDistance | ( | const QGeoCoordinate & | from | ) |
Recompute distanceKm from a reference coordinate. No-op for invalid references or unknown (0,0) mountpoint coordinates.
Definition at line 49 of file NTRIPSourceTable.cc.
References distanceKm, latitude, and longitude.
| QString NTRIPMountpoint::authentication |
Definition at line 29 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| int NTRIPMountpoint::bitrate = 0 |
Definition at line 31 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| int NTRIPMountpoint::carrier = 0 |
Definition at line 19 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| QString NTRIPMountpoint::compression |
Definition at line 28 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| QString NTRIPMountpoint::country |
Definition at line 22 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| double NTRIPMountpoint::distanceKm = -1.0 |
Definition at line 32 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), NTRIPSourceTableModel::sortByDistance(), and updateDistance().
| bool NTRIPMountpoint::fee = false |
Definition at line 30 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| QString NTRIPMountpoint::format |
Definition at line 17 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| QString NTRIPMountpoint::formatDetails |
Definition at line 18 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| QString NTRIPMountpoint::generator |
Definition at line 27 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| QString NTRIPMountpoint::identifier |
Definition at line 16 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| double NTRIPMountpoint::latitude = 0.0 |
Definition at line 23 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), fromSourceTableLine(), and updateDistance().
| double NTRIPMountpoint::longitude = 0.0 |
Definition at line 24 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), fromSourceTableLine(), and updateDistance().
| QString NTRIPMountpoint::mountpoint |
Definition at line 15 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| QString NTRIPMountpoint::navSystem |
Definition at line 20 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| QString NTRIPMountpoint::network |
Definition at line 21 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| bool NTRIPMountpoint::nmea = false |
Definition at line 25 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().
| bool NTRIPMountpoint::solution = false |
Definition at line 26 of file NTRIPSourceTable.h.
Referenced by NTRIPSourceTableModel::data(), and fromSourceTableLine().