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>.
Loading...
Searching...
No Matches
QGeoTileRequestManagerPrivate Class Reference
+ Collaboration diagram for QGeoTileRequestManagerPrivate:

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

QGeoTiledMapm_map
 
QPointer< QGeoTiledMappingManagerEnginem_engine
 
QHash< QGeoTileSpec, int > m_retries
 
QHash< QGeoTileSpec, QSharedPointer< RetryFuture > > m_futures
 
QSet< QGeoTileSpecm_requested
 

Detailed Description

Definition at line 16 of file qgeotilerequestmanager.cpp.

Constructor & Destructor Documentation

◆ QGeoTileRequestManagerPrivate()

QGeoTileRequestManagerPrivate::QGeoTileRequestManagerPrivate ( QGeoTiledMap * map,
QGeoTiledMappingManagerEngine * engine )
explicit

Definition at line 69 of file qgeotilerequestmanager.cpp.

◆ ~QGeoTileRequestManagerPrivate()

QGeoTileRequestManagerPrivate::~QGeoTileRequestManagerPrivate ( )

Definition at line 75 of file qgeotilerequestmanager.cpp.

Member Function Documentation

◆ requestTiles()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tileError()

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().

+ Here is the call graph for this function:

◆ tileFetched()

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().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_engine

QPointer<QGeoTiledMappingManagerEngine> QGeoTileRequestManagerPrivate::m_engine

Definition at line 23 of file qgeotilerequestmanager.cpp.

Referenced by requestTiles(), and tileError().

◆ m_futures

QHash<QGeoTileSpec, QSharedPointer<RetryFuture> > QGeoTileRequestManagerPrivate::m_futures

Definition at line 29 of file qgeotilerequestmanager.cpp.

Referenced by requestTiles(), tileError(), and tileFetched().

◆ m_map

QGeoTiledMap* QGeoTileRequestManagerPrivate::m_map

Definition at line 22 of file qgeotilerequestmanager.cpp.

Referenced by requestTiles(), tileError(), and tileFetched().

◆ m_requested

QSet<QGeoTileSpec> QGeoTileRequestManagerPrivate::m_requested

Definition at line 30 of file qgeotilerequestmanager.cpp.

Referenced by requestTiles(), tileError(), and tileFetched().

◆ m_retries

QHash<QGeoTileSpec, int> QGeoTileRequestManagerPrivate::m_retries

Definition at line 28 of file qgeotilerequestmanager.cpp.

Referenced by requestTiles(), tileError(), and tileFetched().


The documentation for this class was generated from the following file: