QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
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.
 
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 46 of file qgsgpsdetector.h.

Constructor & Destructor Documentation

◆ QgsGpsDetector()

QgsGpsDetector::QgsGpsDetector ( const QString &  portName)

Definition at line 67 of file qgsgpsdetector.cpp.

◆ ~QgsGpsDetector()

QgsGpsDetector::~QgsGpsDetector ( )
overridedefault

Member Function Documentation

◆ advance

void QgsGpsDetector::advance ( )
slot

Definition at line 85 of file qgsgpsdetector.cpp.

◆ availablePorts()

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

Definition at line 44 of file qgsgpsdetector.cpp.

◆ connDestroyed

void QgsGpsDetector::connDestroyed ( QObject *  obj)
slot

Definition at line 172 of file qgsgpsdetector.cpp.

◆ detected [1/2]

void QgsGpsDetector::detected ( const QgsGpsInformation info)
slot

Definition at line 152 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: