![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QGeoTileRequestManagerPrivate (QGeoTiledMap *map, QGeoTiledMappingManagerEngine *engine) | |
~QGeoTileRequestManagerPrivate () | |
QMap< QGeoTileSpec, QSharedPointer< QGeoTileTexture > > | requestTiles (const QSet< QGeoTileSpec > &tiles) |
void | tileError (const QGeoTileSpec &tile, const QString &errorString) |
void | tileFetched (const QGeoTileSpec &spec) |
Public Attributes | |
QGeoTiledMap * | m_map |
QPointer< QGeoTiledMappingManagerEngine > | m_engine |
QHash< QGeoTileSpec, int > | m_retries |
QHash< QGeoTileSpec, QSharedPointer< RetryFuture > > | m_futures |
QSet< QGeoTileSpec > | m_requested |
Definition at line 16 of file qgeotilerequestmanager.cpp.
|
explicit |
Definition at line 69 of file qgeotilerequestmanager.cpp.
QGeoTileRequestManagerPrivate::~QGeoTileRequestManagerPrivate | ( | ) |
Definition at line 75 of file qgeotilerequestmanager.cpp.
QMap< QGeoTileSpec, QSharedPointer< QGeoTileTexture > > QGeoTileRequestManagerPrivate::requestTiles | ( | const QSet< QGeoTileSpec > & | tiles | ) |
Definition at line 79 of file qgeotilerequestmanager.cpp.
References QSet< T >::constBegin(), QSet< T >::constEnd(), QGeoTiledMappingManagerEngine::getTileTexture(), i, QMap< Key, T >::insert(), QSet< T >::insert(), QSet< T >::isEmpty(), QPointer< T >::isNull(), QSharedPointer< T >::isNull(), iter, m_engine, m_futures, m_map, m_requested, m_retries, qMax(), QHash< Key, T >::remove(), requestTiles(), QGeoTileSpec::setX(), QGeoTileSpec::setY(), QGeoTileSpec::setZoom(), QGeoTiledMappingManagerEngine::updateTileRequests(), QGeoTileSpec::x(), QGeoTileSpec::y(), and QGeoTileSpec::zoom().
Referenced by requestTiles().
void QGeoTileRequestManagerPrivate::tileError | ( | const QGeoTileSpec & | tile, |
const QString & | errorString | ||
) |
Definition at line 184 of file qgeotilerequestmanager.cpp.
References QSet< T >::contains(), future, QHash< Key, T >::insert(), m_engine, m_futures, m_map, m_requested, m_retries, qPrintable, qWarning, QHash< Key, T >::remove(), QSet< T >::remove(), RetryFuture::retry(), QTimer::singleShot, QHash< Key, T >::value(), QGeoTileSpec::x(), QGeoTileSpec::y(), and QGeoTileSpec::zoom().
void QGeoTileRequestManagerPrivate::tileFetched | ( | const QGeoTileSpec & | spec | ) |
Definition at line 147 of file qgeotilerequestmanager.cpp.
References m_futures, m_map, m_requested, m_retries, QHash< Key, T >::remove(), QSet< T >::remove(), and QGeoTiledMap::updateTile().
QPointer<QGeoTiledMappingManagerEngine> QGeoTileRequestManagerPrivate::m_engine |
Definition at line 23 of file qgeotilerequestmanager.cpp.
Referenced by requestTiles(), and tileError().
QHash<QGeoTileSpec, QSharedPointer<RetryFuture> > QGeoTileRequestManagerPrivate::m_futures |
Definition at line 29 of file qgeotilerequestmanager.cpp.
Referenced by requestTiles(), tileError(), and tileFetched().
QGeoTiledMap* QGeoTileRequestManagerPrivate::m_map |
Definition at line 22 of file qgeotilerequestmanager.cpp.
Referenced by requestTiles(), tileError(), and tileFetched().
QSet<QGeoTileSpec> QGeoTileRequestManagerPrivate::m_requested |
Definition at line 30 of file qgeotilerequestmanager.cpp.
Referenced by requestTiles(), tileError(), and tileFetched().
QHash<QGeoTileSpec, int> QGeoTileRequestManagerPrivate::m_retries |
Definition at line 28 of file qgeotilerequestmanager.cpp.
Referenced by requestTiles(), tileError(), and tileFetched().