QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
NTRIPSourceTableModel Class Reference

#include <NTRIPSourceTable.h>

+ Inheritance diagram for NTRIPSourceTableModel:
+ Collaboration diagram for NTRIPSourceTableModel:

Signals

void countChanged ()
 

Public Member Functions

 NTRIPSourceTableModel (QObject *parent=nullptr)
 
QmlObjectListModelmountpoints () const
 
int count () const
 
void parseSourceTable (const QString &raw)
 
void updateDistances (const QGeoCoordinate &from)
 
void sortByDistance ()
 
void clear ()
 

Detailed Description

Definition at line 85 of file NTRIPSourceTable.h.

Constructor & Destructor Documentation

◆ NTRIPSourceTableModel()

NTRIPSourceTableModel::NTRIPSourceTableModel ( QObject *  parent = nullptr)
explicit

Definition at line 59 of file NTRIPSourceTable.cc.

Member Function Documentation

◆ clear()

void NTRIPSourceTableModel::clear ( )

Definition at line 124 of file NTRIPSourceTable.cc.

References QmlObjectListModel::clearAndDeleteContents(), and countChanged().

Referenced by parseSourceTable().

◆ count()

int NTRIPSourceTableModel::count ( ) const

Definition at line 65 of file NTRIPSourceTable.cc.

References QmlObjectListModel::count().

Referenced by NTRIPManager::fetchMountpoints().

◆ countChanged

void NTRIPSourceTableModel::countChanged ( )
signal

Referenced by clear(), and parseSourceTable().

◆ mountpoints()

QmlObjectListModel * NTRIPSourceTableModel::mountpoints ( ) const
inline

Definition at line 94 of file NTRIPSourceTable.h.

Referenced by NTRIPManager::mountpointModel().

◆ parseSourceTable()

void NTRIPSourceTableModel::parseSourceTable ( const QString &  raw)

◆ sortByDistance()

void NTRIPSourceTableModel::sortByDistance ( )

◆ updateDistances()

void NTRIPSourceTableModel::updateDistances ( const QGeoCoordinate &  from)

The documentation for this class was generated from the following files: