40 #ifndef INCLUDED_GLSMAPAIF_H
41 #define INCLUDED_GLSMAPAIF_H
50 #define LIB_BASE_NAME "gls_map_aif"
56 class AifMapChartCell;
57 class AIFMapChartLayerCache;
62 typedef std::multimap<double, AifMapChartCell*> ResolutionCellMultiMap;
66 typedef std::multimap<std::string, ResolutionCellMultiMap> OverlayCellMultiMap;
70 typedef std::vector<OverlayListPair> OverlayListType;
72 typedef std::vector<double> ResolutionList;
107 void AddOverlay(
const std::string& overlay,
double resolution );
113 void InsertOverlay(
int index,
const std::string& overlay,
double resolution );
118 void RemoveOverlay(
const std::string& overlay,
double resolution );
152 void PreCache(
const double resolution );
GeoRect _extents
The lat/lon boundries of the data contained in this Map Chart Data Source.
Definition: gls_map_aif.h:172
void AddOverlay(const std::string &overlay, double resolution)
Definition: aif_map_chart_cache.h:51
AIFViewManager * _pViewMgr
The View manager.
Definition: gls_map_aif.h:181
virtual void SetCache(AIFMapChartLayerCache &cache)
Definition: gls_map_chart_data_source.h:210
std::pair< std::string, ResolutionCellMultiMap > OverlayCellPair
Type definitions for a multimap containing overlay name to resolution/cell multimap mappings...
Definition: gls_map_aif.h:65
Definition: gls_map_util.h:414
void GetCellList(const GeoRect &coverage, unsigned long layerID, double viewLogicalHeight, double viewGeoHeight, MapChartCellList &viewList) DISTI_METHOD_OVERRIDE
See base class.
OverlayListType _overlayList
A list of all currently displayed overlay layers.
Definition: gls_map_aif.h:175
void InsertOverlay(int index, const std::string &overlay, double resolution)
std::pair< double, AifMapChartCell * > ResolutionCellPair
Type definitions for a multimap containing resoulution to AifMapChartCell pointer mappings...
Definition: gls_map_aif.h:58
std::pair< std::string, double > OverlayListPair
Type definitions for a vector of overlay name / resolution pairs.
Definition: gls_map_aif.h:69
Utility classes for GL Studio Map toolkit.
void SetCacheSize(const float memSize)
void PreCache(const GeoRect &area)
double GetTargetCellLoadRate() const
bool _usingDefaultCache
Using default cache.
Definition: gls_map_aif.h:184
Definition: gls_map_aif.h:80
The disti::GlsMapChartDataSource class.
AIFMapChartLayerCache * _pCache
The cache.
Definition: gls_map_aif.h:178
float GetCurrentCacheAllocated()
Get the amount of memory used.
void LoadAifFile(std::string filename)
float GetCacheSize() const
Get the cached size (megabytes) of images.
AifMapChartDataSource(bool UseDefaultCache=true)
Definition: gls_map_aif_view_manager.h:51
void RemoveOverlay(const std::string &overlay, double resolution)
void InstallViewManager(AIFViewManager &mgr)
void UninstallViewManager()
Uninstall the view manager.
The AIF View Manager class.
ResolutionList _resolutionList
Definition: gls_map_aif.h:169
void SetTargetCellLoadRate(const double targetCellLoadRate)
~AifMapChartDataSource()
Destructs a AifMapChartDataSource object.
Definition: bmpimage.h:46
OverlayCellMultiMap _cells
The multimap containing all loaded cells for this Map Chart Data Source.
Definition: gls_map_aif.h:165
bool GetAvailableCoverage(GeoRect *dest) DISTI_METHOD_OVERRIDE
See base class.