MoSync 3.3
MAP::IMapCacheListener Class Reference

Listener class, for listening client to implement. More...

#include <MAP/MapCache.h>

Inheritance diagram for MAP::IMapCacheListener:
MAP::MapViewport MAP::LayerMapViewport

List of all members.

Public Member Functions

virtual void tileReceived (MapCache *sender, MapTile *tile, bool foundInCache)=0
virtual void jobComplete (MapCache *sender)=0
virtual void error (MapCache *sender, int code)=0

Detailed Description

Listener class, for listening client to implement.


Member Function Documentation

virtual void MAP::IMapCacheListener::tileReceived ( MapCache sender,
MapTile tile,
bool  foundInCache 
) [pure virtual]

Called when a requested tile has been received into cache from map source.

Implemented in MAP::MapViewport.

virtual void MAP::IMapCacheListener::jobComplete ( MapCache sender) [pure virtual]

Called when a tile job is completed.

Implemented in MAP::MapViewport.

virtual void MAP::IMapCacheListener::error ( MapCache sender,
int  code 
) [pure virtual]

Called when an error occurred, likely when MapSource failed to download tile.

Implemented in MAP::MapViewport.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines