QGIS API Documentation
2.6.0-Brighton
|
A singleton 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 () | |
void | registerConnection (QgsGPSConnection *c) |
Inserts a connection into the registry. | |
void | unregisterConnection (QgsGPSConnection *c) |
Unregisters connection. | |
QList< QgsGPSConnection * > | connectionList () const |
Static Public Member Functions | |
static QgsGPSConnectionRegistry * | instance () |
Protected Member Functions | |
QgsGPSConnectionRegistry () |
Protected Attributes | |
QSet< QgsGPSConnection * > | mConnections |
Static Protected Attributes | |
static QgsGPSConnectionRegistry * | mInstance |
A singleton class to register / unregister existing GPS connections such that the information is available to all classes and plugins.
QgsGPSConnectionRegistry::~QgsGPSConnectionRegistry | ( | ) |
|
protected |
QList< QgsGPSConnection * > QgsGPSConnectionRegistry::connectionList | ( | ) | const |
|
static |
void QgsGPSConnectionRegistry::registerConnection | ( | QgsGPSConnection * | c | ) |
Inserts a connection into the registry.
The connection is owned by the registry class until it is unregistered again
void QgsGPSConnectionRegistry::unregisterConnection | ( | QgsGPSConnection * | c | ) |
Unregisters connection.
The registry does no longer own the connection
|
protected |
|
staticprotected |