Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
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 QGeoTiledMappingManagerEngine::getTileTexture(), i, QPointer< 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(), and QGeoTiledMappingManagerEngine::updateTileRequests().
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, and QHash< Key, T >::value().
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().