QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsGpsConnectionRegistry Class Reference

Registers existing GPS connections such that the information is available to all classes and plugins. More...

#include <qgsgpsconnectionregistry.h>

Public Member Functions

 QgsGpsConnectionRegistry ()=default
 QgsGpsConnectionRegistry (const QgsGpsConnectionRegistry &rh)=delete
 ~QgsGpsConnectionRegistry ()
QList< QgsGpsConnection * > connectionList () const
QgsGpsConnectionRegistryoperator= (const QgsGpsConnectionRegistry &rh)=delete
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.

Detailed Description

Registers 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().

Definition at line 36 of file qgsgpsconnectionregistry.h.

Constructor & Destructor Documentation

◆ QgsGpsConnectionRegistry() [1/2]

QgsGpsConnectionRegistry::QgsGpsConnectionRegistry ( )
default

◆ ~QgsGpsConnectionRegistry()

QgsGpsConnectionRegistry::~QgsGpsConnectionRegistry ( )

Definition at line 22 of file qgsgpsconnectionregistry.cpp.

◆ QgsGpsConnectionRegistry() [2/2]

QgsGpsConnectionRegistry::QgsGpsConnectionRegistry ( const QgsGpsConnectionRegistry & rh)
delete

Member Function Documentation

◆ connectionList()

QList< QgsGpsConnection * > QgsGpsConnectionRegistry::connectionList ( ) const

Definition at line 37 of file qgsgpsconnectionregistry.cpp.

◆ operator=()

QgsGpsConnectionRegistry & QgsGpsConnectionRegistry::operator= ( const QgsGpsConnectionRegistry & rh)
delete

◆ registerConnection()

void QgsGpsConnectionRegistry::registerConnection ( QgsGpsConnection * c)

Inserts a connection into the registry. The connection is owned by the registry class until it is unregistered again.

Definition at line 27 of file qgsgpsconnectionregistry.cpp.

◆ unregisterConnection()

void QgsGpsConnectionRegistry::unregisterConnection ( QgsGpsConnection * c)

Unregisters connection. The registry does no longer own the connection.

Definition at line 32 of file qgsgpsconnectionregistry.cpp.


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