QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
Shared data class for vector tile layer data providers. More...
#include <qgsvectortiledataprovider.h>
Public Member Functions | |
QgsVectorTileDataProviderSharedData () | |
bool | getCachedTileData (QgsVectorTileRawData &data, QgsTileXYZ id) |
Retrieves previously cached raw tile data for a tile with matching id. | |
void | storeCachedTileData (const QgsVectorTileRawData &data) |
Stores raw tile data in the shared cache. | |
Public Attributes | |
QMutex | mMutex |
Access to all data members is guarded by the mutex. | |
QCache< QgsTileXYZ, QgsVectorTileRawData > | mTileCache |
Shared data class for vector tile layer data providers.
Definition at line 42 of file qgsvectortiledataprovider.h.
QgsVectorTileDataProviderSharedData::QgsVectorTileDataProviderSharedData | ( | ) |
Definition at line 110 of file qgsvectortiledataprovider.cpp.
bool QgsVectorTileDataProviderSharedData::getCachedTileData | ( | QgsVectorTileRawData & | data, |
QgsTileXYZ | id | ||
) |
Retrieves previously cached raw tile data for a tile with matching id.
Returns true
if tile data was already cached and could be retrieved.
Definition at line 115 of file qgsvectortiledataprovider.cpp.
void QgsVectorTileDataProviderSharedData::storeCachedTileData | ( | const QgsVectorTileRawData & | data | ) |
Stores raw tile data in the shared cache.
Definition at line 127 of file qgsvectortiledataprovider.cpp.
QMutex QgsVectorTileDataProviderSharedData::mMutex |
Access to all data members is guarded by the mutex.
Definition at line 62 of file qgsvectortiledataprovider.h.
QCache< QgsTileXYZ, QgsVectorTileRawData > QgsVectorTileDataProviderSharedData::mTileCache |
Definition at line 59 of file qgsvectortiledataprovider.h.