QGIS API Documentation  2.99.0-Master (0a63d1f)
Public Member Functions | List of all members
QgsGPSConnectionRegistry Class Reference

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

#include <qgsgpsconnectionregistry.h>

Public Member Functions

 QgsGPSConnectionRegistry ()
 
 QgsGPSConnectionRegistry (const QgsGPSConnectionRegistry &rh)=delete
 QgsGPSConnectionRegistry cannot be copied. More...
 
 ~QgsGPSConnectionRegistry ()
 
QList< QgsGPSConnection * > connectionList () const
 
QgsGPSConnectionRegistryoperator= (const QgsGPSConnectionRegistry &rh)=delete
 QgsGPSConnectionRegistry cannot be copied. More...
 
void registerConnection (QgsGPSConnection *c)
 Inserts a connection into the registry. The connection is owned by the registry class until it is unregistered again. More...
 
void unregisterConnection (QgsGPSConnection *c)
 Unregisters connection. The registry does no longer own the connection. More...
 

Detailed Description

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

Definition at line 35 of file qgsgpsconnectionregistry.h.

Constructor & Destructor Documentation

◆ QgsGPSConnectionRegistry() [1/2]

QgsGPSConnectionRegistry::QgsGPSConnectionRegistry ( )

Definition at line 21 of file qgsgpsconnectionregistry.cpp.

◆ ~QgsGPSConnectionRegistry()

QgsGPSConnectionRegistry::~QgsGPSConnectionRegistry ( )

Definition at line 25 of file qgsgpsconnectionregistry.cpp.

◆ QgsGPSConnectionRegistry() [2/2]

QgsGPSConnectionRegistry::QgsGPSConnectionRegistry ( const QgsGPSConnectionRegistry rh)
delete

QgsGPSConnectionRegistry cannot be copied.

Member Function Documentation

◆ connectionList()

QList< QgsGPSConnection *> QgsGPSConnectionRegistry::connectionList ( ) const

Definition at line 40 of file qgsgpsconnectionregistry.cpp.

◆ operator=()

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

QgsGPSConnectionRegistry cannot be copied.

◆ 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 30 of file qgsgpsconnectionregistry.cpp.

◆ unregisterConnection()

void QgsGPSConnectionRegistry::unregisterConnection ( QgsGPSConnection c)

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

Definition at line 35 of file qgsgpsconnectionregistry.cpp.


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