libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::SearchLocationsRunnable Class Reference

#include <SearchModule.h>

+ Inheritance diagram for osmscout::SearchLocationsRunnable:

Public Member Functions

void run () override
 
 SearchLocationsRunnable (SearchModule *searchModule, DBInstanceRef &db, const QString &searchPattern, int limit, osmscout::BreakerRef &breaker, AdminRegionInfoRef &defaultRegion)
 
- Public Member Functions inherited from osmscout::SearchRunnable
std::future< bool > getFuture ()
 
 SearchRunnable (SearchModule *searchModule, DBInstanceRef &db, const QString &searchPattern, int limit, osmscout::BreakerRef &breaker)
 

Additional Inherited Members

- Protected Member Functions inherited from osmscout::SearchRunnable
bool GetObjectDetails (const osmscout::ObjectFileRef &object, const std::string &searchKey, QString &typeName, QString &name, QString &altName, osmscout::GeoCoord &coordinates, osmscout::GeoBox &bbox)
 
bool GetObjectDetails (const std::vector< osmscout::ObjectFileRef > &objects, const std::string &searchKey, QString &typeName, QString &name, QString &altName, osmscout::GeoCoord &coordinates, osmscout::GeoBox &bbox)
 
void GetObjectNames (const FeatureValueBuffer &features, QString &typeName, QString &name, QString &altName)
 
- Protected Attributes inherited from osmscout::SearchRunnable
std::map< osmscout::FileOffset, osmscout::AdminRegionRefadminRegionMap
 
NameAltFeatureValueReader altNameReader
 
osmscout::BreakerRef breaker
 
DBInstanceRef db
 
int limit
 
NameFeatureValueReader nameReader
 
std::promise< bool > promise
 
SearchModulesearchModule
 
QString searchPattern
 

Constructor & Destructor Documentation

◆ SearchLocationsRunnable()

osmscout::SearchLocationsRunnable::SearchLocationsRunnable ( SearchModule searchModule,
DBInstanceRef &  db,
const QString &  searchPattern,
int  limit,
osmscout::BreakerRef breaker,
AdminRegionInfoRef &  defaultRegion 
)

Member Function Documentation

◆ run()


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