|
Maps SDK for C++ 1.0.0
|


Public Member Functions | |
| Debug (const Debug &)=delete | |
| Debug (Debug &&)=default | |
| Default move constructor noexcept is deduced. | |
| Debug & | operator= (const Debug &)=delete |
| Default copy assignment operator. | |
| Debug & | operator= (Debug &&)=default |
| Default move assignment noexcept is deduced. | |
| void | log (ELogLevel level, char const *pszModule, char const *pszFunction, char const *pszFile, int line, char const *pszFrm,...) noexcept |
| Print log via the SDK logging system. | |
| void | log (ELogLevel level, char const *pszModule, char const *pszFunction, char const *pszFile, int line, String str,...) noexcept |
| Print log via the SDK logging system. | |
| LargeInteger | getUsedMemory () const noexcept |
| Return memory used by the Sdk. | |
| LargeInteger | getTotalMemory () const noexcept |
| Return system total memory. | |
| LargeInteger | getFreeMemory () const noexcept |
| Return system free memory( this will include swap and kernel cache memory). | |
| void | dumpMem (const String &Path, bool relative, bool checkUniqueStack=false) noexcept |
| Dump current allocations. | |
| void | breakOnAlloc (const String &file, int line, size_t allocationSize, bool breakOnce, ProgressListener listener) noexcept |
| Break on allocation. | |
| void | breakOnMaxAlloc (const LargeInteger &maxAlloc, ProgressListener listener) noexcept |
| Break when RAM allocations exceed specified threshold. | |
| void | resetMaxUsedMemory () const noexcept |
| Sets MaxUsedMemory to current used memory. | |
| LargeInteger | getMaxUsedMemory () const noexcept |
| Return MaxUsedMemory. | |
| MountInfoList | getAppIOInfo () const noexcept |
| Get app I/O info. | |
| TransferStatisticsRef | getDataAcquisitionTransferStats () const noexcept |
| Get transfer statistics for data acquisition. | |
| TransferStatisticsRef | getResourceUpdaterTransferStats () const noexcept |
| Get transfer statistics for the resource updater service. | |
| TransferStatisticsRef | getStatisticsTransferStats () const noexcept |
| Get transfer statistics for the statistics service. | |
| String | setRoutingDebugDumpPath (const String &path) const noexcept |
| Set the path for dumping routing information. | |
| void | getRoutingDebugDumpPaths (String &sTraffPenPath, String &sLinksPath, String &sFavLinksPath) const noexcept |
| Retrieve the paths where routing information is dumped. | |
| DataBuffer | dumpRoute (const Route &route, int options) const noexcept |
| Dump route information with given options. | |
| StringList | getDefUrls (int svc) const noexcept |
| Get default URLs for the specified service. | |
| StringList | getStyleBuilderUrls () const noexcept |
| Get URLs for the style builder. | |
| void | setCustomUrl (int svc, const String *url) const noexcept |
| Set a custom URL for the specified service. | |
| int | testUrl (const String &url, EHttpMethod method, const DataBuffer &post, ProgressListener listener) const noexcept |
| Test a URL with the specified HTTP method and post data. | |
| void | setRouteName (const String &name) const noexcept |
| Set a name for a route for debugging purposes. | |
| void | setRoutingAlgoModifiers (int modifiers) const noexcept |
| Set modifiers for the routing algorithm to alter its behavior. | |
| int | getRoutingAlgoModifiers () const noexcept |
| Retrieve current routing algorithm modifiers. | |
| int | getDijkstraProgress (MarkerList &links, IntList &types, MarkerList &meets, MarkerList &stations, ProgressListener listener) const noexcept |
| Retrieve progress information for Dijkstra's algorithm. | |
| MarkerCollection | getRouteConnections (const IRoute &route) const noexcept |
| Retrieve connections for a given route as markers. | |
| void | setNavigationModifiers (int modifiers) const noexcept |
| Set modifiers for navigation locations. | |
| int | getNavigationModifiers () const noexcept |
| Retrieve the current navigation location modifiers. | |
| int | getNavigationStateInfo (int state,...) const noexcept |
| Get detailed navigation state information. | |
| int | checkBetterRoute () const noexcept |
| Initiate a check for a better route. | |
| int | checkTrafficAlongRoutes () const noexcept |
| Initiate a check for traffic conditions along all routes. | |
| int | timeToBetterRouteSec () const noexcept |
| Get the remaining time until the next check for a better route. | |
| int | timeToCheckTrafficAlongRoutesSec () const noexcept |
| Get the remaining time until the next check for traffic conditions along all routes. | |
| Route | testRerouting (const Coordinates &dep, ETestRerouteStartDirection dir) const noexcept |
| Test rerouting from the given coordinates on the closest route. | |
| void | manyToManyPedestrianCalculation (const Coordinates &dep, const Coordinates &dest) const noexcept |
| Perform a many-to-many pedestrian routing calculation. | |
| void | oneToOnePedestrianCalculation (const Coordinates &dep, const Coordinates &dest) const noexcept |
| Perform a one-to-one pedestrian routing calculation. | |
| void | reshapeTracks (ProgressListener opProgress, const RoutePreferences &prefs, const String &path) const noexcept |
| Reshape tracks from a given folder using specified route preferences. | |
| int | generateAndReloadTrafficAndRoutingSettings () const noexcept |
| Generate and reload traffic and routing settings. | |
| Time | getAuthorizationExpireDate () const noexcept |
| Retrieve the expiration date of the API authorization token. | |
| void | getAppIconIds (IntList &ids, StringList &idsStr) const noexcept |
| Retrieve application icon IDs and their string representations. | |
| void | getAppStringsList (StringList &ids, StringList &strs) const noexcept |
| Retrieve application string IDs and their corresponding strings. | |
| void | generateGPSLog (bool generate) const noexcept |
| Toggle the generation of a GPS log. | |
| IntList | getServicesIds () const noexcept |
| Retrieve a list of service IDs used within the application. | |
| String | getServiceName (int id) const noexcept |
| Retrieve the name of a service given its ID. | |
| int | saveBitmap (IBitmap &bmp, const String &path, int format=IFF_Bmp) const noexcept |
| Save a bitmap to a file. | |
| int | saveBitmap (IBitmap &bmp, DataBuffer &buff, int format) const noexcept |
| Save a bitmap to a data buffer. | |
| Image | getImageFromBitmap (const DataBuffer &buff, const Size &sz, EImagePixelFormat format) const noexcept |
| Retrieve an image from a memory bitmap. | |
| int | saveImage (const Image &img, DataBuffer &buff) const noexcept |
| Get the image internal data from an image object. | |
| int | saveStyle (const String &jsonPath, const String &name, const String &nameRef, const DataBuffer &previewJpg, const Size &szPreview, int majorVer, int minorVer, bool highRes, const ParameterList ¶ms, bool publish) const noexcept |
| Save a style definition to a JSON path. | |
| int | rejectStyle (const String &name, int majorVer, int minorVer, bool highRes) const noexcept |
| Reject a previously saved style. | |
| weather::LocationForecast | getAllWeatherConditions () const noexcept |
| Retrieve all weather conditions parsed from all available resources. | |
| int | sendTopicNotification (const String &topic, const String &message, bool sendByHTTPService) const noexcept |
| Send a notification message on a specific topic. | |
| void | importSiblingBookmarks (RouteBookmarks &bookmark) const noexcept |
| Import all sibling bookmarks into a destination bookmark. | |
| void | refreshContentStore () const noexcept |
| Refresh the content store by loading external changes from disk. | |
| int | startSimulationPresentation (ERouteTransportMode transport, const Coordinates &start, const Coordinates &end, MapView &view, ProgressListener listener, const Animation &animation=Animation()) noexcept |
| Start a simulation presentation by calculating a predefined route, starting a simulation, and setting progress to 50%. | |
| int | stopSimulationPresentation () noexcept |
| Stop the current simulation presentation. | |
| void | cleanupSocialCache () const noexcept |
| Clean up the local cache of social data. | |
| int | updateMaps (bool allowPartial=true) const noexcept |
| Update maps to the latest version synchronously. | |
| bool | isMainThread () const noexcept |
| Check if the current thread is the main thread. | |
| int | replayStreamActivityLog (const String &logPath) const noexcept |
| Replay a previously recorded stream activity log. | |
| void | setSDKProfile (int options, ProfileListener listener=ProfileListener()) noexcept |
| Enable SDK profile options. | |
| int | GetSDKProfile () const noexcept |
| Retrieve the current SDK profile options. | |
| int | getMapViewMaxZoomRanges () const noexcept |
| Retrieve the maximum zoom ranges allowed on a MapView. | |
| int | getMapViewCurrentZoomRange (const MapView &mapView) const noexcept |
| Retrieve the MapView current zoom ranges. | |
| int | enableRawPositionTracker (bool enable, const SceneObjectDataList &data) noexcept |
| enable raw position tracker object | |
| bool | isRawPositionTrackerEnabled () const noexcept |
| check if raw position tracker is enabled | |
| std::pair< int, String > | getSocialLabelsAppVariant () const noexcept |
| get app variant for social labels | |
| bool | isValidUUIDv4 (const String &uuid) const noexcept |
| validate an uuid v4 string | |
| String | generateUUIDv4 () const noexcept |
| generate an uuid v4 string | |
| bool | isOfflineFunctionalityAllowed () const noexcept |
| Check offline functionality allowance. | |
| int | corruptContent (const ContentStoreItem &item) const noexcept |
| Corrupt content item file for testing purposes. | |
| void | simulateOnSdkActivationAboutToExpire (gem::ESdkActivationAboutToExpireReason reason, gem::LargeInteger remainingTimeInSeconds) const noexcept |
| Simulate SDK activation about to expire notification. | |
Debug object.
Implements share-read / write Api object over IDebug.
This behaves like a singleton, i.e. all instances are shared behind the same API interface
|
inlinenoexcept |
Break on allocation.
| [in] | file | The file name to associate with the breakpoint. |
| [in] | line | The line number to associate with the breakpoint. |
| [in] | allocationSize | The size of the allocation to break on. |
| [in] | breakOnce | If true, the breakpoint will only trigger once. |
| [in] | listener | A listener to handle progress updates. |
|
inlinenoexcept |
Break when RAM allocations exceed specified threshold.
| [in] | maxAlloc | The maximum allocated memory threshold. |
| [in] | listener | A listener to handle progress updates. |
|
inlinenoexcept |
Initiate a check for a better route.
|
inlinenoexcept |
Initiate a check for traffic conditions along all routes.
|
inlinenoexcept |
Corrupt content item file for testing purposes.
| [in] | item | The content store item to be corrupted. |
|
inlinenoexcept |
Dump current allocations.
Enabling checkStackUnicity will generate a much larger result
| [in] | Path | The path where the memory dump will be stored. |
| [in] | relative | If true, the path is relative; otherwise, it is absolute. |
| [in] | checkUniqueStack | If true, performs a check for unique stack traces. |
|
inlinenoexcept |
Dump route information with given options.
| [in] | route | The route to be dumped. |
| [in] | options | Options defining what information to include in the dump. |
|
inlinenoexcept |
enable raw position tracker object
| [in] | enable | If true, enables the raw position tracker; if false, disables it. |
| [in] | data | The scene object data list to be used when enabling the raw position tracker. |
|
inlinenoexcept |
Generate and reload traffic and routing settings.
|
inlinenoexcept |
Toggle the generation of a GPS log.
| [in] | generate | If true, starts generating a GPS log; if false, stops it. |
|
inlinenoexcept |
generate an uuid v4 string
|
inlinenoexcept |
Retrieve all weather conditions parsed from all available resources.
|
inlinenoexcept |
|
inlinenoexcept |
Get app I/O info.
|
inlinenoexcept |
|
inlinenoexcept |
Retrieve the expiration date of the API authorization token.
|
inlinenoexcept |
Get transfer statistics for data acquisition.
|
inlinenoexcept |
Get default URLs for the specified service.
| [in] | svc | Service identifier for which URLs are requested. |
|
inlinenoexcept |
Retrieve progress information for Dijkstra's algorithm.
| [out] | links | List of links processed by the algorithm. |
| [out] | types | List of types for each link. |
| [out] | meets | List of meeting points in the algorithm. |
| [out] | stations | List of stations processed by the algorithm. |
| [in] | listener | A listener to handle progress updates. |
|
inlinenoexcept |
Return system free memory( this will include swap and kernel cache memory).
|
inlinenoexcept |
Retrieve an image from a memory bitmap.
| [in] | buff | The data buffer containing the bitmap data. |
| [in] | sz | The size of the image to retrieve. |
| [in] | format | The pixel format of the image. |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Return MaxUsedMemory.
|
inlinenoexcept |
Retrieve the current navigation location modifiers.
|
inlinenoexcept |
Get detailed navigation state information.
| [in] | state | The state information to retrieve. |
| [in] | ... | Variadic parameters providing context for the state information requested. |
|
inlinenoexcept |
Get transfer statistics for the resource updater service.
|
inlinenoexcept |
Retrieve connections for a given route as markers.
| [in] | route | The route for which connections are to be retrieved. |
|
inlinenoexcept |
Retrieve current routing algorithm modifiers.
|
inlinenoexcept |
Retrieve the current SDK profile options.
|
inlinenoexcept |
Retrieve the name of a service given its ID.
| [in] | id | The ID of the service. |
|
inlinenoexcept |
Retrieve a list of service IDs used within the application.
|
inlinenoexcept |
get app variant for social labels
|
inlinenoexcept |
Get transfer statistics for the statistics service.
|
inlinenoexcept |
Get URLs for the style builder.
|
inlinenoexcept |
Return system total memory.
|
inlinenoexcept |
Return memory used by the Sdk.
|
inlinenoexcept |
Import all sibling bookmarks into a destination bookmark.
| [in,out] | bookmark | The destination bookmark into which siblings will be imported. |
|
inlinenoexcept |
Check if the current thread is the main thread.
|
inlinenoexcept |
Check offline functionality allowance.
|
inlinenoexcept |
check if raw position tracker is enabled
|
inlinenoexcept |
validate an uuid v4 string
| [in] | uuid | The UUID string to validate. |
|
inlinenoexcept |
Print log via the SDK logging system.
| [in] | level | The severity level of the log. |
| [in] | pszModule | The module from which the log is coming. |
| [in] | pszFunction | The function from which the log is issued. |
| [in] | pszFile | The file from which the log is issued. |
| [in] | line | The line number in the file at which the log is issued. |
| [in] | pszFrm | The format string for the log message, similar to printf. |
| [in] | ... | Variadic arguments providing values for the format string placeholders. |
|
inlinenoexcept |
Print log via the SDK logging system.
| [in] | level | The severity level of the log. |
| [in] | pszModule | The module from which the log is coming. |
| [in] | pszFunction | The function from which the log is issued. |
| [in] | pszFile | The file from which the log is issued. |
| [in] | line | The line number in the file at which the log is issued. |
| [in] | str | The format string for the log message, similar to printf. |
| [in] | ... | Variadic arguments providing values for the format string placeholders. |
|
inlinenoexcept |
Perform a many-to-many pedestrian routing calculation.
| [in] | dep | Coordinates of the departure point. |
| [in] | dest | Coordinates of the destination. |
|
inlinenoexcept |
Perform a one-to-one pedestrian routing calculation.
| [in] | dep | Coordinates of the departure point. |
| [in] | dest | Coordinates of the destination. |
|
delete |
Default copy assignment operator.
|
default |
Default move assignment noexcept is deduced.
|
inlinenoexcept |
Reject a previously saved style.
| [in] | name | The name of the style to reject. |
| [in] | majorVer | The major version number of the style to reject. |
| [in] | minorVer | The minor version number of the style to reject. |
| [in] | highRes | A flag indicating whether the rejected style is high resolution. |
|
inlinenoexcept |
Replay a previously recorded stream activity log.
| [in] | logPath | The path to the log file to be replayed. |
|
inlinenoexcept |
|
inlinenoexcept |
Save a bitmap to a file.
| [in] | bmp | The bitmap to save. |
| [in] | path | The file path where the bitmap should be saved. |
| [in] | format | The image format in which to save the bitmap. |
|
inlinenoexcept |
Save a bitmap to a data buffer.
| [in] | bmp | The bitmap to save. |
| [out] | buff | The data buffer to which the bitmap will be saved. |
| [in] | format | The image format in which to save the bitmap. |
|
inlinenoexcept |
Get the image internal data from an image object.
| [in] | img | The image |
| [out] | buff | The data buffer to which the image internal data is saved |
|
inlinenoexcept |
Save a style definition to a JSON path.
| [in] | jsonPath | The JSON file path where the style definition is stored. |
| [in] | name | The name of the style to save. |
| [in] | nameRef | A reference name for the style. |
| [in] | previewJpg | A data buffer containing a JPEG preview of the style. |
| [in] | szPreview | The size of the preview image. |
| [in] | majorVer | The major version number of the style. |
| [in] | minorVer | The minor version number of the style. |
| [in] | highRes | A flag indicating whether the style is high resolution. |
| [in] | params | Additional parameters related to the style. |
| [in] | publish | A flag indicating whether to publish the style. |
|
inlinenoexcept |
Send a notification message on a specific topic.
| [in] | topic | The topic on which the message will be sent. |
| [in] | message | The message to send. |
| [in] | sendByHTTPService | A boolean flag indicating whether to send the message via HTTP service or directly via MQTT service. |
|
inlinenoexcept |
Set a custom URL for the specified service.
| [in] | svc | Service identifier for which the URL is to be set. |
| [in] | url | The URL to set for the service. |
|
inlinenoexcept |
Set modifiers for navigation locations.
| [in] | modifiers | Bitwise OR of navigation location modifiers. |
|
inlinenoexcept |
Set a name for a route for debugging purposes.
| [in] | name | The name to assign to the route. |
|
inlinenoexcept |
Set modifiers for the routing algorithm to alter its behavior.
| [in] | modifiers | Bitwise OR of routing algorithm modifiers. |
Set the path for dumping routing information.
| [in] | path | The path where routing information should be dumped. |
|
inlinenoexcept |
Enable SDK profile options.
| [in] | options | Bitmask of options to enable for the SDK profile. |
| [in] | listener | Optional listener to receive profile notifications. |
|
inlinenoexcept |
Simulate SDK activation about to expire notification.
| [in] | reason | The reason for the SDK activation about to expire. |
| [in] | remainingTimeInSeconds | The remaining time in seconds until the SDK activation expires. |
|
inlinenoexcept |
Start a simulation presentation by calculating a predefined route, starting a simulation, and setting progress to 50%.
| [in] | transport | The transport mode for the simulation. |
| [in] | start | Coordinates of the starting point. |
| [in] | end | Coordinates of the ending point. |
| [in] | view | The MapView object where the simulation will be presented. |
| [in] | listener | A listener to handle operation progress. |
| [in] | animation | Optional animation settings for the simulation. |
|
inlinenoexcept |
Stop the current simulation presentation.
|
inlinenoexcept |
Test rerouting from the given coordinates on the closest route.
| [in] | dep | Coordinates of the departure point. |
| [in] | dir | Direction for rerouting as defined by ETestRerouteStartDirection. |
|
inlinenoexcept |
Test a URL with the specified HTTP method and post data.
| [in] | url | The URL to be tested. |
| [in] | method | The HTTP method to use for the test (e.g., GET, POST). |
| [in] | post | The data to be sent in the body of the request for POST method. |
| [in] | listener | A listener to handle progress updates during the test. |
|
inlinenoexcept |
Get the remaining time until the next check for a better route.
|
inlinenoexcept |
Get the remaining time until the next check for traffic conditions along all routes.
|
inlinenoexcept |
Update maps to the latest version synchronously.
| [in] | allowPartial | If true, allows partial updates due to space constraints. |