QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
QgsGpsDetector Class Reference

#include <qgsgpsdetector.h>

Inheritance diagram for QgsGpsDetector:
Inheritance graph

Public Slots

void advance ()
void connDestroyed (QObject *)
void detected (const QgsGpsInformation &)


void detected (QgsGpsConnection *connection)
 Emitted when the GPS connection has been detected. More...
void detectionFailed ()

Public Member Functions

 QgsGpsDetector (const QString &portName)
 ~QgsGpsDetector () override

Static Public Member Functions

static QList< QPair< QString, QString > > availablePorts ()

Detailed Description

Class to detect the GPS port

Definition at line 35 of file qgsgpsdetector.h.

Constructor & Destructor Documentation

◆ QgsGpsDetector()

QgsGpsDetector::QgsGpsDetector ( const QString &  portName)

Definition at line 61 of file qgsgpsdetector.cpp.

◆ ~QgsGpsDetector()

QgsGpsDetector::~QgsGpsDetector ( )

Member Function Documentation

◆ advance

void QgsGpsDetector::advance ( )

Definition at line 79 of file qgsgpsdetector.cpp.

◆ availablePorts()

QList< QPair< QString, QString > > QgsGpsDetector::availablePorts ( )

Definition at line 38 of file qgsgpsdetector.cpp.

◆ connDestroyed

void QgsGpsDetector::connDestroyed ( QObject *  obj)

Definition at line 168 of file qgsgpsdetector.cpp.

◆ detected [1/2]

void QgsGpsDetector::detected ( const QgsGpsInformation info)

Definition at line 148 of file qgsgpsdetector.cpp.

◆ detected [2/2]

void QgsGpsDetector::detected ( QgsGpsConnection connection)

Emitted when the GPS connection has been detected.

A single connection must listen for this signal and immediately take ownership of the connection object.

◆ detectionFailed

void QgsGpsDetector::detectionFailed ( )

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