|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <NTRIPSourceTable.h>
Inheritance diagram for NTRIPSourceTableModel:
Collaboration diagram for NTRIPSourceTableModel:Signals | |
| void | countChanged () |
Public Member Functions | |
| NTRIPSourceTableModel (QObject *parent=nullptr) | |
| QmlObjectListModel * | mountpoints () const |
| int | count () const |
| void | parseSourceTable (const QString &raw) |
| void | updateDistances (const QGeoCoordinate &from) |
| void | sortByDistance () |
| void | clear () |
Definition at line 85 of file NTRIPSourceTable.h.
|
explicit |
Definition at line 59 of file NTRIPSourceTable.cc.
| void NTRIPSourceTableModel::clear | ( | ) |
Definition at line 124 of file NTRIPSourceTable.cc.
References QmlObjectListModel::clearAndDeleteContents(), and countChanged().
Referenced by parseSourceTable().
| int NTRIPSourceTableModel::count | ( | ) | const |
Definition at line 65 of file NTRIPSourceTable.cc.
References QmlObjectListModel::count().
Referenced by NTRIPManager::fetchMountpoints().
|
signal |
Referenced by clear(), and parseSourceTable().
|
inline |
Definition at line 94 of file NTRIPSourceTable.h.
Referenced by NTRIPManager::mountpointModel().
| void NTRIPSourceTableModel::parseSourceTable | ( | const QString & | raw | ) |
Definition at line 70 of file NTRIPSourceTable.cc.
References QmlObjectListModel::append(), clear(), countChanged(), and NTRIPMountpointModel::fromSourceTableLine().
Referenced by NTRIPManager::fetchMountpoints().
| void NTRIPSourceTableModel::sortByDistance | ( | ) |
Definition at line 103 of file NTRIPSourceTable.cc.
References QmlObjectListModel::count(), QmlObjectListModel::objectList(), and QmlObjectListModel::swapObjectList().
Referenced by updateDistances().
| void NTRIPSourceTableModel::updateDistances | ( | const QGeoCoordinate & | from | ) |
Definition at line 89 of file NTRIPSourceTable.cc.
References QmlObjectListModel::count(), QmlObjectListModel::get(), and sortByDistance().
Referenced by NTRIPManager::fetchMountpoints().