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// Qt-Security score:significant reason:default
4
5#ifndef QGEOPOSITIONINFOSOURCEFACTORY_NMEA_H
6#define QGEOPOSITIONINFOSOURCEFACTORY_NMEA_H
7
8#include <QObject>
9#include <QtPositioning/QGeoPositionInfoSourceFactory>
10
11QT_BEGIN_NAMESPACE
12
13class QGeoPositionInfoSourceFactoryNmea : public QObject, public QGeoPositionInfoSourceFactory
14{
15 Q_OBJECT
16 Q_PLUGIN_METADATA(IID "org.qt-project.qt.position.sourcefactory/6.0"
17 FILE "plugin.json")
18 Q_INTERFACES(QGeoPositionInfoSourceFactory)
19
20public:
21 QGeoPositionInfoSource *positionInfoSource(QObject *parent, const QVariantMap &parameters) override;
22 QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent, const QVariantMap &parameters) override;
23 QGeoAreaMonitorSource *areaMonitor(QObject *parent, const QVariantMap &parameters) override;
24};
25
26QT_END_NAMESPACE
27
28#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)
static QT_BEGIN_NAMESPACE const auto sourceParameterName
QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY(lcSynthesizedIterableAccess, "qt.iterable.synthesized", QtWarningMsg)
NmeaParameters(const QVariantMap &parameters)