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


Public Member Functions | |
| TrafficEvent (const TrafficEvent &event)=default | |
| Default copy constructor. | |
| TrafficEvent (TrafficEvent &&event)=default | |
| Default move constructor noexcept is deduced. | |
| TrafficEvent & | operator= (const TrafficEvent &event)=default |
| Default copy assignment. | |
| TrafficEvent & | operator= (TrafficEvent &&event)=default |
| Default move assignment noexcept is deduced. | |
| 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. | |
TrafficEvent object.
Implements share-read / copy-on-write Api object over ITrafficEvent base interface.
|
default |
Default copy constructor.
| event | The traffic event to copy |
|
default |
Default move constructor noexcept is deduced.
| event | The traffic event to move |
|
inlinenoexcept |
Cancel a previous call of getPreviewData.
| [in] | listener | The progress listener |
|
inlinenoexcept |
Get affected transport modes.
|
inlinenoexcept |
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
|
inlinenoexcept |
Get the bounding box of the traffic event.
|
inlinenoexcept |
Get the estimated delay in seconds caused by the traffic event.
For roadblocks it will return -1.
|
inlinenoexcept |
Get the description of the traffic event.
|
inlinenoexcept |
Get end time ( UTC ).
|
inlinenoexcept |
Get the traffic event class.
|
inlinenoexcept |
Get the traffic event severity.
|
inlinenoexcept |
Get the image of the traffic event.
If the traffic event doesn't have an image the Image::isValid() will return false
|
inlinenoexcept |
Get the traffic event impact zone.
|
inlinenoexcept |
Get the length in meters of the road segment affected by the traffic event.
|
inlinenoexcept |
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 |
|
inlinenoexcept |
Get the traffic event preview URL.
|
inlinenoexcept |
Get the traffic event reference point.
If the traffic event doesn't have a reference point the Coordinates::hasCoordinates() will return false
|
inlinenoexcept |
Get start time ( UTC ).
|
inlinenoexcept |
Check if event has a sibling on opposite direction.
|
inlinenoexcept |
Check if traffic event is active ( i.e.
is started )
|
inlinenoexcept |
Check if the impact zone is the anti-area of the event area.
Valid only for TEIZ_Area impact zone
|
inlinenoexcept |
Check if traffic event is expired ( i.e.
is ended )
|
inlinenoexcept |
Check if this traffic event is a roadblock.
For roadblocks the getDelay() will return -1.
|
inlinenoexcept |
Check if the traffic event is a user roadblock.
|
default |
Default copy assignment.
| event | The traffic event to copy |
|
default |
Default move assignment noexcept is deduced.
| event | The traffic event to move |