|
Maps SDK for C++ 1.0.0
|
LandmarkStoreManager object. More...


Public Member Functions | |
| LandmarkStoreService (const LandmarkStoreService &)=delete | |
| Disable copy constructor. | |
| LandmarkStoreService (LandmarkStoreService &&)=default | |
| Default move constructor. | |
| LandmarkStoreService & | operator= (const LandmarkStoreService &)=delete |
| noexcept is deduced | |
| LandmarkStoreService & | operator= (LandmarkStoreService &&store)=default |
| Default move assignment. | |
| std::pair< StrongPointer< LandmarkStore >, int > | createLandmarkStore (const String &name, int zoom=-1, const String &folder=String()) noexcept |
| noexcept is deduced | |
| int | registerLandmarkStore (const String &name, const String &path) noexcept |
| Register an already existing landmark store. | |
| LandmarkStoreService & | removeLandmarkStore (int landmarkStoreId) noexcept |
| Remove the landmark store specified by ID. | |
| int | getLandmarkStoreType (int landmarkStoreId) const noexcept |
| Get the type of the landmark store ( see TLandmarkStoreType ). | |
| StrongPointer< LandmarkStore > | getLandmarkStore (int landmarkStoreId) const noexcept |
| Get landmark store by ID. | |
| StrongPointer< LandmarkStore > | getLandmarkStore (const String &name) const noexcept |
| Get landmark store by name. | |
| LandmarkStoreService & | addListener (LandmarkStoreListener listener) noexcept |
| Add new listener for landmark store events. | |
| LandmarkStoreService & | removeListener (LandmarkStoreListener listener) noexcept |
| Remove listener for landmark store events. | |
| int | getMapPoisLandmarkStoreId () const noexcept |
| Get Map POIs landmark store. | |
| int | getMapAddressLandmarkStoreId () const noexcept |
| Get LandmarkStore id attached to map address database information. | |
| int | getMapCitiesLandmarkStoreId () const noexcept |
| Get LandmarkStore id attached to map cities database information. | |
| int | getMapRoadsLandmarkStoreId () const noexcept |
| Get LandmarkStore id attached to map roads database information. | |
| int | getOverlaysLandmarkStoreId () const noexcept |
| Get LandmarkStore id attached to overlays database. | |
| int | getGeofenceLandmarkStoreId () const noexcept |
| Get LandmarkStore id attached to geofence database. | |
| template<typename TCollector> | |
| bool | iterateLandmarkStores (TCollector collector) const |
| Iterate all application landmark stores and call collector for each. | |
LandmarkStoreManager object.
Implements share read/write Api object over ILandmarkStoreManager.
This behaves like a singleton, i.e. all instances are shared behind the same API interface
Manages storage and retrieval of landmarks.
Provides persistent access to user-defined or preloaded landmarks, enabling navigation and search features to integrate landmarks.
|
inlinenoexcept |
Add new listener for landmark store events.
| [in] | listener | The listener to be added |
|
inlinenoexcept |
noexcept is deduced
Create a new landmark store. The landmark store type for all stores created with this function is ELandmarkStoreType::Default.
| [in] | name | The name of the landmark store. The name must be unique otherwise will return error::KExist |
| [in] | zoom | The max zoom step at which the landmark store will be visible. If -1, a default optimal zoom level is selected |
| [in] | folder | Folder path where the landmark store will be created. If empty, the landmark store will be created in the SDK default location |
If a landmark with the given name already exists, the function will return { valid landmark store pointer, error::KExist }
|
inlinenoexcept |
Get LandmarkStore id attached to geofence database.
|
inlinenoexcept |
Get landmark store by name.
| [in] | name | The name of the landmark store. |
|
inlinenoexcept |
Get landmark store by ID.
| [in] | landmarkStoreId | The ID of the landmark store. |
|
inlinenoexcept |
Get the type of the landmark store ( see TLandmarkStoreType ).
| [in] | landmarkStoreId | The ID of the landmark store. |
|
inlinenoexcept |
Get LandmarkStore id attached to map address database information.
|
inlinenoexcept |
Get LandmarkStore id attached to map cities database information.
|
inlinenoexcept |
Get Map POIs landmark store.
|
inlinenoexcept |
Get LandmarkStore id attached to map roads database information.
|
inlinenoexcept |
Get LandmarkStore id attached to overlays database.
|
inline |
Iterate all application landmark stores and call collector for each.
Collector should have the following signature bool( StrongPointer<LandmarkStore> ). Collector must return true if iteration should continue and false if iteration should stop.
| [in] | collector | The collector to be called for each landmark store |
|
delete |
noexcept is deduced
Delete copy assignment
|
default |
Default move assignment.
| store | The object to be moved |
|
inlinenoexcept |
Register an already existing landmark store.
| [in] | name | The landmark store name. Must be unique, otherwise error::kExist is returned |
| [in] | path | The landmark store path |
The name parameter will override the landmark store internal creation name. This allows to register landmark stores in order to import data from them
|
inlinenoexcept |
Remove the landmark store specified by ID.
The store resource must be released before calling this function: ILandmarkStore::Release();
| [in] | landmarkStoreId | The ID of the landmark store. |
|
inlinenoexcept |
Remove listener for landmark store events.
| [in] | listener | The listener to be removed |