QgsGpsConnectionRegistry class

A class to register / unregister existing GPS connections such that the information is available to all classes and plugins.

QgsGpsConnectionRegistry is not usually directly created, but rather accessed through QgsApplication::gpsConnectionRegistry().

Constructors, destructors, conversion operators

QgsGpsConnectionRegistry() defaulted
Constructor for QgsGpsConnectionRegistry.
QgsGpsConnectionRegistry(const QgsGpsConnectionRegistry& rh) deleted
QgsGpsConnectionRegistry cannot be copied.

Public functions

auto operator=(const QgsGpsConnectionRegistry& rh) -> QgsGpsConnectionRegistry& deleted
QgsGpsConnectionRegistry cannot be copied.
void registerConnection(QgsGpsConnection* c)
Inserts a connection into the registry. The connection is owned by the registry class until it is unregistered again.
void unregisterConnection(QgsGpsConnection* c)
Unregisters connection. The registry does no longer own the connection.