libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::IconLookup Class Reference

#include <IconLookup.h>

Inheritance diagram for osmscout::IconLookup:

Public Slots

void onDatabaseLoaded (QString dbPath, QList< osmscout::TileRef > tiles)
void onIconRequest (const MapViewStruct &view, const QPoint &coord, const std::map< int, OverlayObjectRef > &overlayObjects)
void onLoadJobFinished (QMap< QString, QMap< osmscout::TileKey, osmscout::TileRef > > tiles)

Signals

void iconFound (QPoint lookupCoord, MapIcon icon)
void iconNotFound (QPoint lookupCoord)
void iconRequested (const MapViewStruct &view, const QPoint &coord, const std::map< int, OverlayObjectRef > &overlayObjects)

Public Member Functions

 IconLookup (QThread *thread, DBThreadRef dbThread, QString iconDirectory)
void RequestIcon (const MapViewStruct &view, const QPoint &coord, const std::map< int, OverlayObjectRef > &overlayObjects)
 ~IconLookup () override

Constructor & Destructor Documentation

◆ IconLookup()

osmscout::IconLookup::IconLookup ( QThread * thread,
DBThreadRef dbThread,
QString iconDirectory )

◆ ~IconLookup()

osmscout::IconLookup::~IconLookup ( )
override

Member Function Documentation

◆ iconFound

void osmscout::IconLookup::iconFound ( QPoint lookupCoord,
MapIcon icon )
signal

◆ iconNotFound

void osmscout::IconLookup::iconNotFound ( QPoint lookupCoord)
signal

References IconLookup(), and RequestIcon().

◆ iconRequested

void osmscout::IconLookup::iconRequested ( const MapViewStruct & view,
const QPoint & coord,
const std::map< int, OverlayObjectRef > & overlayObjects )
signal

Referenced by IconLookup(), and RequestIcon().

◆ onDatabaseLoaded

void osmscout::IconLookup::onDatabaseLoaded ( QString dbPath,
QList< osmscout::TileRef > tiles )
slot

Referenced by onIconRequest().

◆ onIconRequest

void osmscout::IconLookup::onIconRequest ( const MapViewStruct & view,
const QPoint & coord,
const std::map< int, OverlayObjectRef > & overlayObjects )
slot

◆ onLoadJobFinished

void osmscout::IconLookup::onLoadJobFinished ( QMap< QString, QMap< osmscout::TileKey, osmscout::TileRef > > tiles)
slot

◆ RequestIcon()

void osmscout::IconLookup::RequestIcon ( const MapViewStruct & view,
const QPoint & coord,
const std::map< int, OverlayObjectRef > & overlayObjects )

References iconRequested(), and RequestIcon().

Referenced by iconNotFound(), and RequestIcon().


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