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


Public Member Functions | |
| RouteTrafficEvent (const RouteTrafficEvent &event)=default | |
| Default copy constructor. | |
| RouteTrafficEvent (RouteTrafficEvent &&event)=default | |
| Default move constructor noexcept is deduced. | |
| RouteTrafficEvent & | operator= (const RouteTrafficEvent &event)=default |
| Default copy assignment. | |
| RouteTrafficEvent & | operator= (RouteTrafficEvent &&event)=default |
| Default move assignment noexcept is deduced. | |
| int | getDistanceToDestination () const noexcept |
| Get the distance in meters from starting point on current route of the traffic event to the destination. | |
| const CoordinatesRef | getFrom () const noexcept |
| Get the route traffic event start point. | |
| const CoordinatesRef | getTo () const noexcept |
| Get the route traffic event end point. | |
| std::pair< Landmark, bool > | getFromLandmark () const noexcept |
| Get the traffic event start point as landmark. | |
| std::pair< Landmark, bool > | getToLandmark () const noexcept |
| Get the traffic event end point as landmark. | |
| void | asyncUpdateToFromData (ProgressListener listener) const |
| Update the local data needed for "from" and "to" landmarks address and description. | |
| void | cancelUpdate () |
| Cancel the local data update for "from" and "to" landmarks. | |
| bool | isRoadblock () const noexcept |
| Check if this traffic event is a roadblock. | |
| int | getDelay () const noexcept |
| Get the estimated delay in seconds caused by the traffic event. | |
| int | getLength () const noexcept |
| Get the length in meters of the road segment affected by the traffic event. | |
| ETrafficEventImpactZone | getImpactZone () const noexcept |
| Get the traffic event impact zone. | |
| const CoordinatesRef | getReferencePoint () const noexcept |
| Get the traffic event reference point. | |
| RectangleGeographicArea | getBoundingBox () const noexcept |
| Get the bounding box of the traffic event. | |
| GeographicArea | getArea () const noexcept |
| Get the area of the traffic event. | |
| bool | isAntiArea () const noexcept |
| Check if the impact zone is the anti-area of the event area. | |
| const StringRef | getDescription () const noexcept |
| Get the description of the traffic event. | |
| ETrafficEventClass | getEventClass () const noexcept |
| Get the traffic event class. | |
| ETrafficEventSeverity | getEventSeverity () const noexcept |
| Get the traffic event severity. | |
| const ImageRef | getImage () const noexcept |
| Get the image of the traffic event. | |
| const StringRef | getPreviewUrl () const noexcept |
| Get the traffic event preview URL. | |
| int | getPreviewData (ParameterList ¶ms, ProgressListener listener) const noexcept |
| Get the traffic preview data as a list of parameters. | |
| void | cancelGetPreviewData (ProgressListener listener) const noexcept |
| Cancel a previous call of getPreviewData. | |
| bool | isUserRoadblock () const noexcept |
| Check if the traffic event is a user roadblock. | |
| int | getAffectedTransportMode () const noexcept |
| Get affected transport modes. | |
| Time | getStartTime () const noexcept |
| Get start time ( UTC ). | |
| Time | getEndTime () const noexcept |
| Get end time ( UTC ). | |
| bool | isActive () const noexcept |
| Check if traffic event is active ( i.e. | |
| bool | isExpired () const noexcept |
| Check if traffic event is expired ( i.e. | |
| bool | hasOppositeSibling () const noexcept |
| Check if event has a sibling on opposite direction. | |
RouteTrafficEvent object.
Implements share-read / copy-on-write Api object over TrafficEvent.
|
default |
Default copy constructor.
| event | The route traffic event to copy |
|
default |
Default move constructor noexcept is deduced.
| event | The route traffic event to move |
|
inline |
Update the local data needed for "from" and "to" landmarks address and description.
| [in] | listener | The progress listener |
|
inlinenoexceptinherited |
Cancel a previous call of getPreviewData.
| [in] | listener | The progress listener |
|
inline |
Cancel the local data update for "from" and "to" landmarks.
The operation is synchronous, after it returns the update listener will not be used anymore
|
inlinenoexceptinherited |
Get affected transport modes.
|
inlinenoexceptinherited |
Get the area of the traffic event.
If the impact zone if TEIZ_Path, the area is the bounding box.
If the impact zone if TEIZ_Area, the area is the geographic area with which the event was defined
|
inlinenoexceptinherited |
Get the bounding box of the traffic event.
|
inlinenoexceptinherited |
Get the estimated delay in seconds caused by the traffic event.
For roadblocks it will return -1.
|
inlinenoexceptinherited |
Get the description of the traffic event.
|
inlinenoexcept |
Get the distance in meters from starting point on current route of the traffic event to the destination.
|
inlinenoexceptinherited |
Get end time ( UTC ).
|
inlinenoexceptinherited |
Get the traffic event class.
|
inlinenoexceptinherited |
Get the traffic event severity.
|
inlinenoexcept |
Get the route traffic event start point.
|
inlinenoexcept |
Get the traffic event start point as landmark.
|
inlinenoexceptinherited |
Get the image of the traffic event.
If the traffic event doesn't have an image the Image::isValid() will return false
|
inlinenoexceptinherited |
Get the traffic event impact zone.
|
inlinenoexceptinherited |
Get the length in meters of the road segment affected by the traffic event.
|
inlinenoexceptinherited |
Get the traffic preview data as a list of parameters.
| [out] | params | The list of parameters to fill with the preview data |
| [in] | listener | The progress listener |
|
inlinenoexceptinherited |
Get the traffic event preview URL.
|
inlinenoexceptinherited |
Get the traffic event reference point.
If the traffic event doesn't have a reference point the Coordinates::hasCoordinates() will return false
|
inlinenoexceptinherited |
Get start time ( UTC ).
|
inlinenoexcept |
Get the route traffic event end point.
|
inlinenoexcept |
Get the traffic event end point as landmark.
|
inlinenoexceptinherited |
Check if event has a sibling on opposite direction.
|
inlinenoexceptinherited |
Check if traffic event is active ( i.e.
is started )
|
inlinenoexceptinherited |
Check if the impact zone is the anti-area of the event area.
Valid only for TEIZ_Area impact zone
|
inlinenoexceptinherited |
Check if traffic event is expired ( i.e.
is ended )
|
inlinenoexceptinherited |
Check if this traffic event is a roadblock.
For roadblocks the getDelay() will return -1.
|
inlinenoexceptinherited |
Check if the traffic event is a user roadblock.
|
default |
Default copy assignment.
| event | The route traffic event to copy |
|
default |
Default move assignment noexcept is deduced.
| event | The route traffic event to move |