#include <aif_map_chart_cache.h>
helper class for caching cells between layer changes
disti::AIFMapChartLayerCache::AIFMapChartLayerCache |
( |
void |
| ) |
|
|
inline |
virtual disti::AIFMapChartLayerCache::~AIFMapChartLayerCache |
( |
| ) |
|
|
inlinevirtual |
Dtor - releases all cached cells
float AIFMapChartLayerCache::CurrentSizeMeg |
( |
| ) |
|
|
protectedvirtual |
- Returns
- Current size of the cache
virtual float disti::AIFMapChartLayerCache::GetCacheSize |
( |
void |
| ) |
const |
|
inlinevirtual |
Get the memory storage amount (Megabytes)
- Returns
- max number of layers to cache ( 0u if caching is disabled )
virtual float disti::AIFMapChartLayerCache::GetCacheUsed |
( |
| ) |
|
|
inlinevirtual |
void AIFMapChartLayerCache::SetCacheSize |
( |
const float |
memSize | ) |
|
|
virtual |
Set the memory storage amount (megabytes)
- Parameters
-
memSize | Megabytes of the cache |
void AIFMapChartLayerCache::UpdateLayer |
( |
const double |
resolution, |
|
|
const MapChartCellList & |
cellList |
|
) |
| |
|
virtual |
update the given layer with the latest cells from GetCellList
- Parameters
-
resolution | The resolution of the given cell list |
cellList | latest cells from GetCellList for the layer |
The documentation for this class was generated from the following files:
- aif_map_chart_cache.h
- aif_map_chart_cache.cpp