QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
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 116 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 121 of file qgsvectortiledataprovider.cpp.
void QgsVectorTileDataProviderSharedData::storeCachedTileData | ( | const QgsVectorTileRawData & | data | ) |
Stores raw tile data in the shared cache.
Definition at line 133 of file qgsvectortiledataprovider.cpp.
QMutex QgsVectorTileDataProviderSharedData::mMutex |
Access to all data members is guarded by the mutex.
Definition at line 63 of file qgsvectortiledataprovider.h.
QCache< QgsTileXYZ, QgsVectorTileRawData > QgsVectorTileDataProviderSharedData::mTileCache |
Definition at line 60 of file qgsvectortiledataprovider.h.