40 #ifndef _AIF_MAP_CHART_CACHE_H
41 #define _AIF_MAP_CHART_CACHE_H
48 class AifMapChartCell;
61 const unsigned int entryCount = _layerCache.Count();
62 for(
unsigned int i = 0u; i < entryCount; ++i )
64 _layerCache[ i ]->ReleaseCachedCells();
80 return ( _memorySizeMeg );
86 return CurrentSizeMeg();
128 return _cellsCacheSizeBytes / 1048576.0f;
133 unsigned int _cellsCacheSizeBytes;
135 typedef std::set<AifMapChartCell*> CachedCells;
140 virtual float CurrentSizeMeg();
148 float _memorySizeMeg;
LayerCacheEntry(const double resolution, const MapChartCellList &cellList)
Definition: aif_map_chart_cache.h:51
virtual ~AIFMapChartLayerCache()
Definition: aif_map_chart_cache.h:58
virtual void SetCacheSize(const float memSize)
AIFMapChartLayerCache(void)
Definition: aif_map_chart_cache.h:55
Definition: aif_map_chart_cache.h:96
float SizeMeg()
Definition: aif_map_chart_cache.h:126
CachedCells _cells
Definition: aif_map_chart_cache.h:136
The disti::GlsMapChartDataSource class.
virtual float GetCacheSize(void) const
Definition: aif_map_chart_cache.h:78
virtual float GetCacheUsed()
Definition: aif_map_chart_cache.h:84
~LayerCacheEntry()
Definition: aif_map_chart_cache.h:106
void UpdateLatestCells(const MapChartCellList &cellList)
const double _resolution
Definition: aif_map_chart_cache.h:132
void ReleaseCachedCells(void)
Definition: bmpimage.h:46
double GetResolution(void) const
Definition: aif_map_chart_cache.h:114
virtual void UpdateLayer(const double resolution, const MapChartCellList &cellList)