GlsMap Toolkit  1.3.1
disti::GlsMapChartDataSource Class Referenceabstract

#include <gls_map_chart_data_source.h>

+ Inheritance diagram for disti::GlsMapChartDataSource:

Public Member Functions

virtual ~GlsMapChartDataSource ()
 
virtual bool GetAvailableCoverage (GeoRect *dest)=0
 
virtual unsigned long GetBestLayer (GlsMapView *view, GlsMapChart *chart)=0
 
virtual void GetCellList (const GeoRect &coverage, unsigned long layerID, MapChartCellList *viewList)=0
 
virtual void PostDraw (GlsMapView *view, GlsMapChart *chart)
 
virtual bool AreAllCellsLoaded (GlsMapView *view, GlsMapChart *chart)
 

Protected Member Functions

 GlsMapChartDataSource ()
 

Detailed Description

/class MapDataSource

Abstract base class to encapsulate map library specific code and data.

Provides a list of MapCells for a given coverage area and layer. A MapDataSource may have just one layer or many layers of MapCells available.

Member Function Documentation

bool disti::GlsMapChartDataSource::AreAllCellsLoaded ( GlsMapView view,
GlsMapChart chart 
)
virtual

Returns if all of the visible cells have finished loading and will be visible on the next frame

Parameters
viewThe GlsMapView used to draw the chart
chartThe GlsMapChart that is being drawn
Returns
If all cells are loaded in a view

Reimplemented in disti::DTEDMapChartDataSource.


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