GL Studio C++ Runtime API
AIFMapChartLayerCache::LayerCacheEntry Class Reference

#include <aif_map_chart_cache.h>

Public Member Functions

 LayerCacheEntry (const double resolution, const MapChartCellList &cellList)
 
 ~LayerCacheEntry ()
 
double GetResolution (void) const
 
void ReleaseCachedCells (void)
 
void UpdateLatestCells (const MapChartCellList &cellList)
 
float SizeMeg ()
 

Protected Attributes

const double _resolution
 
CachedCells _cells
 

Detailed Description

entry for cache info for one layer

Constructor & Destructor Documentation

LayerCacheEntry ( const double  resolution,
const MapChartCellList cellList 
)

ctor

Parameters
resolutionthe resolution for this entry
cellListmost recent cell list from GetCellList call
~LayerCacheEntry ( )
inline

dtor - releases any cached cells

Member Function Documentation

double GetResolution ( void  ) const
inline

Get the layer ID associated with this entry

Returns
layer ID associated with this entry
void ReleaseCachedCells ( void  )

Release any cached cells

float SizeMeg ( )
inline

Size in megabytes of this cell cache

void UpdateLatestCells ( const MapChartCellList cellList)

Merges cells into the collection of cells

Member Data Documentation

CachedCells _cells
protected

The cached cells

const double _resolution
protected

resolution associated with this entry


The documentation for this class was generated from the following file: