|
MoSync 3.2.1
|
Abstract class for accessing GeoPoint data. More...
#include <MAP/GeoPointDataSource.h>
Public Member Functions | |
| GeoPointDataSource () | |
| virtual | ~GeoPointDataSource () |
| virtual void | refresh ()=0 |
| virtual int | size ()=0 |
| virtual GeoPoint * | getItem (int index)=0 |
| void | setTitle (const char *title) |
| const char * | getTitle () const |
| void | addListener (IGeoPointDataSourceListener *listener) |
| void | removeListener (IGeoPointDataSourceListener *listener) |
| Vector < IGeoPointDataSourceListener * > * | getListeners () |
Protected Member Functions | |
| void | onDataChanged () |
| void | onLoadComplete () |
Abstract class for accessing GeoPoint data.
| MAP::GeoPointDataSource::GeoPointDataSource | ( | ) | [inline] |
| virtual MAP::GeoPointDataSource::~GeoPointDataSource | ( | ) | [inline, virtual] |
| virtual void MAP::GeoPointDataSource::refresh | ( | ) | [pure virtual] |
| virtual int MAP::GeoPointDataSource::size | ( | ) | [pure virtual] |
Implements MAPUtil::IEnumerable< GeoPoint * >.
| virtual GeoPoint* MAP::GeoPointDataSource::getItem | ( | int | index | ) | [pure virtual] |
Implements MAPUtil::IEnumerable< GeoPoint * >.
| void MAP::GeoPointDataSource::setTitle | ( | const char * | title | ) | [inline] |
| const char* MAP::GeoPointDataSource::getTitle | ( | ) | const [inline] |
| void MAP::GeoPointDataSource::onDataChanged | ( | ) | [inline, protected] |
References MAUtil::Vector< Type >::size().
| void MAP::GeoPointDataSource::onLoadComplete | ( | ) | [inline, protected] |
References MAUtil::Vector< Type >::size().
| void MAPUtil::Broadcaster< IGeoPointDataSourceListener >::addListener | ( | IGeoPointDataSourceListener * | listener | ) | [inline, inherited] |
Add a listener. Clients should call this to register for notification.
| void MAPUtil::Broadcaster< IGeoPointDataSourceListener >::removeListener | ( | IGeoPointDataSourceListener * | listener | ) | [inline, inherited] |
Remove a listener. Clients should call this to unregister for notification.
| Vector<IGeoPointDataSourceListener *>* MAPUtil::Broadcaster< IGeoPointDataSourceListener >::getListeners | ( | ) | [inline, inherited] |