QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
QgsGpsDetector Class Reference

Class to detect the GPS port. More...

#include <qgsgpsdetector.h>

Inheritance diagram for QgsGpsDetector:
Inheritance graph
[legend]

Public Slots

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

Signals

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 ( )
overridedefault

Member Function Documentation

◆ advance

void QgsGpsDetector::advance ( )
slot

Definition at line 79 of file qgsgpsdetector.cpp.

◆ availablePorts()

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

Definition at line 38 of file qgsgpsdetector.cpp.

◆ connDestroyed

void QgsGpsDetector::connDestroyed ( QObject *  obj)
slot

Definition at line 168 of file qgsgpsdetector.cpp.

◆ detected [1/2]

void QgsGpsDetector::detected ( const QgsGpsInformation info)
slot

Definition at line 148 of file qgsgpsdetector.cpp.

◆ detected [2/2]

void QgsGpsDetector::detected ( QgsGpsConnection connection)
signal

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 ( )
signal

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