Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGeoPositionInfoSourceFactory Class Referenceabstract

\inmodule QtPositioning More...

#include <qgeopositioninfosourcefactory.h>

+ Inheritance diagram for QGeoPositionInfoSourceFactory:
+ Collaboration diagram for QGeoPositionInfoSourceFactory:

Public Member Functions

virtual ~QGeoPositionInfoSourceFactory ()
 Destroys the position info source factory.
 
virtual QGeoPositionInfoSourcepositionInfoSource (QObject *parent, const QVariantMap &parameters)=0
 Returns a new QGeoPositionInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters.
 
virtual QGeoSatelliteInfoSourcesatelliteInfoSource (QObject *parent, const QVariantMap &parameters)=0
 Returns a new QGeoSatelliteInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters.
 
virtual QGeoAreaMonitorSourceareaMonitor (QObject *parent, const QVariantMap &parameters)=0
 Returns a new QGeoAreaMonitorSource associated with this plugin with parent parent, and using parameters as configuration parameters.
 

Detailed Description

\inmodule QtPositioning

Since
5.2

The QGeoPositionInfoSourceFactory class is a factory class used as the plugin interface for external providers of positioning data.

Each factory method takes a parameters argument, which allows to configure the created source.

Definition at line 14 of file qgeopositioninfosourcefactory.h.

Constructor & Destructor Documentation

◆ ~QGeoPositionInfoSourceFactory()

QGeoPositionInfoSourceFactory::~QGeoPositionInfoSourceFactory ( )
virtual

Destroys the position info source factory.

Definition at line 50 of file qgeopositioninfosourcefactory.cpp.

Member Function Documentation

◆ areaMonitor()

QGeoAreaMonitorSource * QGeoPositionInfoSourceFactory::areaMonitor ( QObject * parent,
const QVariantMap & parameters )
pure virtual

Returns a new QGeoAreaMonitorSource associated with this plugin with parent parent, and using parameters as configuration parameters.

Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

Implemented in QGeoPositionInfoSourceFactoryAndroid, QGeoPositionInfoSourceFactoryCL, QGeoPositionInfoSourceFactoryGeoclue2, QGeoPositionInfoSourceFactoryGypsy, QGeoPositionInfoSourceFactoryNmea, QGeoPositionInfoSourceFactoryPoll, and QGeoPositionInfoSourceFactoryWinRT.

◆ positionInfoSource()

QGeoPositionInfoSource * QGeoPositionInfoSourceFactory::positionInfoSource ( QObject * parent,
const QVariantMap & parameters )
pure virtual

Returns a new QGeoPositionInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters.

Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

◆ satelliteInfoSource()

QGeoSatelliteInfoSource * QGeoPositionInfoSourceFactory::satelliteInfoSource ( QObject * parent,
const QVariantMap & parameters )
pure virtual

Returns a new QGeoSatelliteInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters.

Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

Implemented in QGeoPositionInfoSourceFactoryAndroid, QGeoPositionInfoSourceFactoryCL, QGeoPositionInfoSourceFactoryGeoclue2, QGeoPositionInfoSourceFactoryGypsy, QGeoPositionInfoSourceFactoryNmea, QGeoPositionInfoSourceFactoryPoll, and QGeoPositionInfoSourceFactoryWinRT.


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