|
QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
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 ()=default | |
| Constructor for QgsGpsConnectionRegistry. More... | |
| QgsGpsConnectionRegistry (const QgsGpsConnectionRegistry &rh)=delete | |
| QgsGpsConnectionRegistry cannot be copied. More... | |
| ~QgsGpsConnectionRegistry () | |
| QList< QgsGpsConnection * > | connectionList () const |
| QgsGpsConnectionRegistry & | operator= (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... | |
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 36 of file qgsgpsconnectionregistry.h.
|
default |
Constructor for QgsGpsConnectionRegistry.
| QgsGpsConnectionRegistry::~QgsGpsConnectionRegistry | ( | ) |
Definition at line 21 of file qgsgpsconnectionregistry.cpp.
|
delete |
QgsGpsConnectionRegistry cannot be copied.
| QList< QgsGpsConnection *> QgsGpsConnectionRegistry::connectionList | ( | ) | const |
Definition at line 36 of file qgsgpsconnectionregistry.cpp.
|
delete |
QgsGpsConnectionRegistry cannot be copied.
| 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 26 of file qgsgpsconnectionregistry.cpp.
| void QgsGpsConnectionRegistry::unregisterConnection | ( | QgsGpsConnection * | c | ) |
Unregisters connection. The registry does no longer own the connection.
Definition at line 31 of file qgsgpsconnectionregistry.cpp.
1.8.13