Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::TurnDetails Class Reference

TurnDetails object. More...

Inheritance diagram for gem::TurnDetails:
Collaboration diagram for gem::TurnDetails:

Public Member Functions

 TurnDetails (const TurnDetails &)=default
 Default copy constructor.
 TurnDetails (TurnDetails &&)=default
 Default move constructor noexcept is deduced.
TurnDetails & operator= (const TurnDetails &turn)=default
 Default copy assignment.
TurnDetails & operator= (TurnDetails &&turn)=default
 Default move assignment noexcept is deduced.
int getRoundaboutExitNumber () const noexcept
 Get the roundabout exit number( > 0).
ETurnEvent getEvent () const noexcept
 Get event.
const AbstractGeometryRef getAbstractGeometry () const noexcept
 Get the abstract geometry.
const AbstractGeometryImageRef getAbstractGeometryImage () const noexcept
 Get the image for the abstract geometry.

Detailed Description

TurnDetails object.

Implement share-read / copy-on-write Api object over ITurnDetails.

Member Function Documentation

◆ getAbstractGeometry()

const AbstractGeometryRef gem::TurnDetails::getAbstractGeometry ( ) const
inlinenoexcept

Get the abstract geometry.

Returns
The abstract geometry.

◆ getAbstractGeometryImage()

const AbstractGeometryImageRef gem::TurnDetails::getAbstractGeometryImage ( ) const
inlinenoexcept

Get the image for the abstract geometry.

Returns
The image for the lane abstract geometry. The API user should check if the image is valid.

◆ getEvent()

ETurnEvent gem::TurnDetails::getEvent ( ) const
inlinenoexcept

Get event.

Result is in ETurnEvent range.

Returns
The turn event.

◆ getRoundaboutExitNumber()

int gem::TurnDetails::getRoundaboutExitNumber ( ) const
inlinenoexcept

Get the roundabout exit number( > 0).

Returns
-1 when no roundabout exit number.

◆ operator=() [1/2]

TurnDetails & gem::TurnDetails::operator= ( const TurnDetails & turn)
default

Default copy assignment.

Parameters
turnThe TurnDetails object to assign
Returns
The assigned TurnDetails object

◆ operator=() [2/2]

TurnDetails & gem::TurnDetails::operator= ( TurnDetails && turn)
default

Default move assignment noexcept is deduced.

Parameters
turnThe TurnDetails object to assign
Returns
The assigned TurnDetails object