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
qgeotilerequestmanager_p.h
Go to the documentation of this file.
1// Copyright (C) 2015 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#ifndef QGEOTILEREQUESTMANAGER_P_H
4#define QGEOTILEREQUESTMANAGER_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <QtCore/QSharedPointer>
18#include <QtLocation/private/qlocationglobal_p.h>
19
21
22class QGeoTiledMap;
23class QGeoTiledMappingManagerEngine;
24class QGeoTileSpec;
25struct QGeoTileTexture;
26
28
29class Q_LOCATION_EXPORT QGeoTileRequestManager
30{
31public:
32 explicit QGeoTileRequestManager(QGeoTiledMap *map, QGeoTiledMappingManagerEngine *engine);
33 ~QGeoTileRequestManager();
34
35 QMap<QGeoTileSpec, QSharedPointer<QGeoTileTexture> > requestTiles(const QSet<QGeoTileSpec> &tiles);
36
37 void tileError(const QGeoTileSpec &tile, const QString &errorString);
38 void tileFetched(const QGeoTileSpec &spec);
39 QSharedPointer<QGeoTileTexture> tileTexture(const QGeoTileSpec &spec);
40
41private:
42 std::unique_ptr<QGeoTileRequestManagerPrivate> d_ptr;
43 Q_DISABLE_COPY(QGeoTileRequestManager)
44};
45
46QT_END_NAMESPACE
47
48#endif // QGEOTILEREQUESTMANAGER_P_H
\inmodule QtCore\reentrant
Definition qpoint.h:231
#define PREFETCH_FRUSTUM_SCALE