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
qgeoroutingmanagerengineosm.h
Go to the documentation of this file.
1
// Copyright (C) 2016 Aaron McCarthy <mccarthy.aaron@gmail.com>
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
QGEOROUTINGMANAGERENGINEOSM_H
6
#
define
QGEOROUTINGMANAGERENGINEOSM_H
7
8
#
include
<
QtLocation
/
QGeoServiceProvider
>
9
#
include
<
QtLocation
/
QGeoRoutingManagerEngine
>
10
#
include
<
QtLocation
/
private
/
qgeorouteparser_p
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QNetworkAccessManager;
15
16
class
QGeoRoutingManagerEngineOsm
:
public
QGeoRoutingManagerEngine
17
{
18
Q_OBJECT
19
20
public
:
21
QGeoRoutingManagerEngineOsm
(
const
QVariantMap
&
parameters
,
22
QGeoServiceProvider
::
Error
*
error
,
23
QString
*
errorString
);
24
~
QGeoRoutingManagerEngineOsm
();
25
26
QGeoRouteReply
*
calculateRoute
(
const
QGeoRouteRequest &request)
override
;
27
const
QGeoRouteParser
*
routeParser
()
const
;
28
29
private
Q_SLOTS
:
30
void
replyFinished
();
31
void
replyError(QGeoRouteReply::Error errorCode,
const
QString &errorString);
32
33
private
:
34
QNetworkAccessManager *m_networkManager;
35
QGeoRouteParser *m_routeParser;
36
QByteArray m_userAgent;
37
QString m_urlPrefix;
38
};
39
40
QT_END_NAMESPACE
41
42
#
endif
// QGEOROUTINGMANAGERENGINEOSM_H
QGeoRoutingManagerEngineOsm
Definition
qgeoroutingmanagerengineosm.h:17
QGeoRoutingManagerEngineOsm::~QGeoRoutingManagerEngineOsm
~QGeoRoutingManagerEngineOsm()
Definition
qgeoroutingmanagerengineosm.cpp:47
QGeoRoutingManagerEngineOsm::routeParser
const QGeoRouteParser * routeParser() const
Definition
qgeoroutingmanagerengineosm.cpp:70
QGeoRoutingManagerEngineOsm::calculateRoute
QGeoRouteReply * calculateRoute(const QGeoRouteRequest &request) override
Begins the calculation of the route specified by request.
Definition
qgeoroutingmanagerengineosm.cpp:51
QNetworkReply
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
Definition
qnetworkreply.h:30
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtlocation
src
plugins
geoservices
osm
qgeoroutingmanagerengineosm.h
Generated on
for Qt by
1.16.1