Atomic types, i.e. the basic types which need to be mapped for each language binding/development environment.
SDK_INT1 1-byte signed integer
4-byte signed floating point number
8-byte signed floating point number
Basic string type (Windows Unicode version). On Windows using Visual Studio 6 (VS6) this wchar_t is actually of type "unsigned short", i.e. an integral type which size is two bytes. Starting with VS7/.net 2003 there is an option to use a built-in type for this. As from the object code the difference shouldn't matter given that the clients themselves use consistent settings.
Basic string. Used only for few APIs where a wide string would be uncomfortable to use.
Generic pointer type. context sensitive. It is unlikely that the NavigationSDK will ever export void* data, so that type got already implicit [in] and "const" semantics.
Generic signature of progress Event/callback routines If it is non-trivial maybe for another language except C/C++ to define callbacks one may use an equivalent pointer type to represent a NULL-pointer.
- Parameters
-
[in] | current | Current step |
[in] | total | Total number of steps |
[in] | job | Reserved for future implementations |
- Returns
- Has to return 0 if process should be cancelled, 1 to continue. Other values are reserved for future purposes and should not be used unless documented somewhere!
Generic signature of the maneuver generator string retriever callback This function is called by the maneuver generator to get a localized string for the current needed string id and has to be implemented by the user. The maneuver generator uses internally string IDs to be independent from localization and grammar. The generator reads the grammar and the sentence portions with this callback, giving a string ID as parameter, so the callee can determine which string should be returned. The returned string will be internally copied after the function was called. For details of the mapping of string IDs to maneuver types, see the examples and Maneuver generator constants.
- Parameters
-
[in] | current | ID of the needed string |
- Returns
- the decoded string
Generic signature of the traffic progress event/callback routines This function is called by the traffic fetching routines to signal the progress and the type of fetch
- Parameters
-
[in] | current | Current step |
[in] | total | Total number of steps |
[in] | job | The type of fetch |
[in] | error | The error value |
- Returns
- Has to return 0 if process should be cancelled, 1 to continue.