QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
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 115 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 120 of file qgsvectortiledataprovider.cpp.
void QgsVectorTileDataProviderSharedData::storeCachedTileData | ( | const QgsVectorTileRawData & | data | ) |
Stores raw tile data in the shared cache.
Definition at line 132 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.