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


Public Member Functions | |
| NavigationInstruction (const NavigationInstruction &)=default | |
| Default copy constructor. | |
| NavigationInstruction (NavigationInstruction &&)=default | |
| Default move constructor noexcept is deduced. | |
| NavigationInstruction & | operator= (const NavigationInstruction &instruction)=default |
| Default copy assignment. | |
| NavigationInstruction & | operator= (NavigationInstruction &&instruction)=default |
| Default move assignment noexcept is deduced. | |
| Route | getNavigationRoute () const noexcept |
| Get the navigation session route to which the instruction belongs. | |
| bool | hasSignpostInfo () const noexcept |
| Check if signpost information is available. | |
| const SignpostDetailsRef | getSignpostDetails () const noexcept |
| Get the extended signpost details. | |
| const StringRef | getSignpostInstruction () const noexcept |
| Get the textual description for the signpost information. | |
| TimeDistance | getTimeDistanceToNextTurn () const noexcept |
| Get the distance to the next turn in meters, time in seconds. | |
| TimeDistance | getRemainingTravelTimeDistance () const noexcept |
| Get remaining travel distance in meters and remaining traveling time in seconds. | |
| TimeDistance | getRemainingTravelTimeDistanceToNextWaypoint () const noexcept |
| Get remaining traveling time in seconds to the next way point and the remaining travel distance in meters to the next way point. | |
| TimeDistance | getTraveledTimeDistance () const noexcept |
| Get the traveled distance in meters and the traveled time in seconds. | |
| int | getNavigationStatus () const noexcept |
| Get the navigation/simulation status, see ENavigationStatus. | |
| const StringRef | getCurrentCountryCodeISO () const noexcept |
| Get the ISO 3166-1 alpha-3 country code for the current navigation instruction. | |
| double | getCurrentStreetSpeedLimit () const noexcept |
| Get the maximum speed limit on the current street in meters per second. | |
| NextSpeedLimit | getNextSpeedLimitVariation (int checkDistance=std::numeric_limits< int >::max()) const noexcept |
| Get the next speed limit variation. | |
| const StringRef | getCurrentStreetName () const noexcept |
| Get the current street name. | |
| const RoadInfoListRef | getCurrentRoadInformation () const noexcept |
| Get the current road information. | |
| const StringRef | getNextCountryCodeISO () const noexcept |
| Get the ISO 3166-1 alpha-3 country code for the next navigation instruction. | |
| const StringRef | getNextStreetName () const noexcept |
| Get the next street name. | |
| const RoadInfoListRef | getNextRoadInformation () const noexcept |
| Get the next road information. | |
| bool | hasNextTurnInfo () const noexcept |
| Check if next turn information is available. | |
| const ImageRef | getNextTurnImage () const noexcept |
| Get the Schematic image of the next turn. | |
| const TurnDetailsRef | getNextTurnDetails () const noexcept |
| Get the full details for the next turn. | |
| const StringRef | getNextTurnInstruction () const noexcept |
| Get the textual description for the next turn. | |
| const StringRef | getNextNextStreetName () const noexcept |
| Get the next next street name. | |
| bool | hasNextNextTurnInfo () const noexcept |
| Check if next next turn information is available. | |
| const RoadInfoListRef | getNextNextRoadInformation () const noexcept |
| Get the next next road information. | |
| const ImageRef | getNextNextTurnImage () const noexcept |
| Get the Schematic image of the next next turn. | |
| const StringRef | getNextNextTurnInstruction () const noexcept |
| Get the textual description for the next next turn. | |
| const RoadInfoImageRef | getRoadInfoImage (const RoadInfoList &list) const noexcept |
| Get an image representation of given road info collection. | |
| const LaneImageRef | getLaneImage () const noexcept |
| Get an image representation of current lane configuration. | |
| const TurnDetailsRef | getNextNextTurnDetails () const noexcept |
| Get the full details for the next-next turn. | |
| TimeDistance | getTimeDistanceToNextNextTurn () const noexcept |
| Get the distance to the next-next turn in meters and time in seconds. | |
| const sense::PositionPtr | getCurrentPosition () const noexcept |
| Get the current position. | |
| int | getSegmentIndex () const noexcept |
| Get the index of the current route segment. | |
| int | getInstructionIndex () const noexcept |
| Get the index of the next route instruction on the current route segment. | |
| RouteInstruction | getNextInstruction () const noexcept |
| Get the next route instruction on the route. | |
| RouteInstruction | getNextNextInstruction () const noexcept |
| Get the next-next route instruction on the route. | |
| RouteInstruction | getPreviousInstruction () const noexcept |
| Get the previous route instruction on the route. | |
| EDriveSide | getDriveSide () const noexcept |
| Get drive side flag of the current traveled road. | |
| float | getBatterySoC () const noexcept |
| Get battery current SoC. | |
| Coordinates | getReturnToRoutePosition () const noexcept |
| Get closest position on navigation route when navigation is NS_WaitingReturnToRoute state. | |
| AbstractGeometryImageRef | getReturnToRouteImage () const |
| Get the turn image to closest position on navigation route when navigation is NS_WaitingReturnToRoute state. | |
| DataBuffer | exportAs (int format) const noexcept |
| Export navigation instruction. | |
| bool | isNextTurnInProgress () const noexcept |
| Check if next turn is in progress. | |
| const TimeRef | getSwitchToNextRouteInstructionStamp () const noexcept |
| Get switch to next route instruction time stamp. | |
| EDriveSide | getNextWaypointDriveSide () const noexcept |
| Get next waypoint drive side. | |
NavigationInstruction object.
Implements share-read / copy-on-write Api object over INavigationInstruction.
|
inlinenoexcept |
Export navigation instruction.
| [in] | format | Data format, see EPathFileFormat |
|
inlinenoexcept |
Get battery current SoC.
This will provide the estimated battery SoC for navigation on routes calculated with MotorVehicleProfile.fuel == FT_Electric
SoC is in the interval from 0.f ( empty battery ) to 1.f ( fully charged )
|
inlinenoexcept |
Get the ISO 3166-1 alpha-3 country code for the current navigation instruction.
Empty string means no country. See: http://en.wikipedia.org/wiki/ISO_3166-1 for the list of codes.
|
inlinenoexcept |
Get the current position.
|
inlinenoexcept |
Get the current road information.
|
inlinenoexcept |
Get the current street name.
|
inlinenoexcept |
Get the maximum speed limit on the current street in meters per second.
|
inlinenoexcept |
Get drive side flag of the current traveled road.
|
inlinenoexcept |
Get the index of the next route instruction on the current route segment.
|
inlinenoexcept |
Get an image representation of current lane configuration.
Return empty if no lane information is currently available
|
noexcept |
Get the navigation session route to which the instruction belongs.
|
inlinenoexcept |
Get the navigation/simulation status, see ENavigationStatus.
|
inlinenoexcept |
Get the ISO 3166-1 alpha-3 country code for the next navigation instruction.
Empty string means no country. See: http://en.wikipedia.org/wiki/ISO_3166-1 for the list of codes.
|
noexcept |
Get the next route instruction on the route.
|
noexcept |
Get the next-next route instruction on the route.
|
inlinenoexcept |
Get the next next road information.
|
inlinenoexcept |
Get the next next street name.
|
inlinenoexcept |
Get the full details for the next-next turn.
This may be used instead of GetNextNextTurnIcon in order to customize turn display in UI.
|
inlinenoexcept |
Get the Schematic image of the next next turn.
A simplified representation of the next next turn image. A detailed representation can be obtained with getNextNextTurnDetails().getAbstractGeometryImage()
|
inlinenoexcept |
Get the textual description for the next next turn.
|
inlinenoexcept |
Get the next road information.
|
inlinenoexcept |
Get the next speed limit variation.
| [in] | checkDistance | The speed limit variation search distance. |
Set to std::numeric_limits<int>::max to use the maximum SDK internal distance
{ Coordinates(), 0, 0 } if speed limit doesn't change in the specified interval
{ Coordinates(), distance, 0 } if speed limit value changed from <value> to <not available>
|
inlinenoexcept |
Get the next street name.
|
inlinenoexcept |
Get the full details for the next turn.
This may be used instead of getNextTurnImage in order to customize turn display in UI.
|
inlinenoexcept |
Get the Schematic image of the next turn.
A simplified representation of the next turn image. A detailed representation can be obtained with getNextTurnDetails().getAbstractGeometryImage()
|
inlinenoexcept |
Get the textual description for the next turn.
|
inlinenoexcept |
Get next waypoint drive side.
|
noexcept |
Get the previous route instruction on the route.
|
inlinenoexcept |
Get remaining travel distance in meters and remaining traveling time in seconds.
|
inlinenoexcept |
Get remaining traveling time in seconds to the next way point and the remaining travel distance in meters to the next way point.
|
inline |
Get the turn image to closest position on navigation route when navigation is NS_WaitingReturnToRoute state.
The image is valid only when navigation status is NS_WaitingReturnToRoute
|
inlinenoexcept |
Get closest position on navigation route when navigation is NS_WaitingReturnToRoute state.
The position is valid only when navigation status is NS_WaitingReturnToRoute
|
inlinenoexcept |
Get an image representation of given road info collection.
| [in] | list | The road info list |
|
inlinenoexcept |
Get the index of the current route segment.
|
inlinenoexcept |
Get the extended signpost details.
|
inlinenoexcept |
Get the textual description for the signpost information.
|
inlinenoexcept |
Get switch to next route instruction time stamp.
|
inlinenoexcept |
Get the distance to the next-next turn in meters and time in seconds.
If there are no next next turn available, the time distance to next turn will be returned
|
inlinenoexcept |
Get the distance to the next turn in meters, time in seconds.
|
inlinenoexcept |
Get the traveled distance in meters and the traveled time in seconds.
|
inlinenoexcept |
Check if next next turn information is available.
|
inlinenoexcept |
Check if next turn information is available.
|
inlinenoexcept |
Check if signpost information is available.
|
inlinenoexcept |
Check if next turn is in progress.
|
default |
Default copy assignment.
| instruction | The NavigationInstruction object to assign |
|
default |
Default move assignment noexcept is deduced.
| instruction | The NavigationInstruction object to assign |