89    void setCacheImage( 
const QString &cacheKey, 
const QImage &image, 
const QList< QgsMapLayer * > &dependentLayers = QList< QgsMapLayer * >() );
 
  104    void setCacheImageWithParameters( 
const QString &cacheKey,
 
  108                                      const QList< QgsMapLayer * > &dependentLayers = QList< QgsMapLayer * >() );
 
  116    bool hasCacheImage( 
const QString &cacheKey ) 
const;
 
  131    bool hasAnyCacheImage( 
const QString &cacheKey, 
double minimumScaleThreshold = 0, 
double maximumScaleThreshold = 0 ) 
const;
 
  140    QImage cacheImage( 
const QString &cacheKey ) 
const;
 
  154    QImage transformedCacheImage( 
const QString &cacheKey, 
const QgsMapToPixel &mtp ) 
const;
 
  159    QList< QgsMapLayer * > dependentLayers( 
const QString &cacheKey ) 
const;
 
  165    void clearCacheImage( 
const QString &cacheKey );
 
  172    void invalidateCacheForLayer( 
QgsMapLayer *layer );
 
  176    void layerRequestedRepaint();
 
  180    struct CacheParameters
 
  189    void clearInternal();
 
  192    void dropUnusedConnections();
 
  194    QSet< QgsWeakMapLayerPointer > dependentLayers() 
const;
 
  196    mutable QMutex mMutex;
 
  200    double mScale = -1.0; 
 
  203    QMap<QString, CacheParameters> mCachedImages;
 
  205    QSet< QgsWeakMapLayerPointer > mConnectedLayers;