Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgeopositioninfosourcefactory_nmea.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGEOPOSITIONINFOSOURCEFACTORY_NMEA_H
5#define QGEOPOSITIONINFOSOURCEFACTORY_NMEA_H
6
7#include <QObject>
8#include <QtPositioning/QGeoPositionInfoSourceFactory>
9
10QT_BEGIN_NAMESPACE
11
12class QGeoPositionInfoSourceFactoryNmea : public QObject, public QGeoPositionInfoSourceFactory
13{
14 Q_OBJECT
15 Q_PLUGIN_METADATA(IID "org.qt-project.qt.position.sourcefactory/6.0"
16 FILE "plugin.json")
17 Q_INTERFACES(QGeoPositionInfoSourceFactory)
18
19public:
20 QGeoPositionInfoSource *positionInfoSource(QObject *parent, const QVariantMap &parameters) override;
21 QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent, const QVariantMap &parameters) override;
22 QGeoAreaMonitorSource *areaMonitor(QObject *parent, const QVariantMap &parameters) override;
23};
24
25QT_END_NAMESPACE
26
27#endif
NmeaSatelliteSource(QObject *parent, const QString &fileName, const QVariantMap &parameters)
NmeaSource(QObject *parent, const QString &fileName)
static QString checkSourceIsFile(const QString &source)
static constexpr auto defaultBaudRate
static const auto socketScheme
static const auto serialScheme
static const auto baudRateParameterName
static QString extractLocalFileName(const QVariantMap &parameters)
NmeaParameters(const QVariantMap &parameters)