ad_map_access
Public Types | Public Member Functions | Public Attributes | List of all members
ad::map::route::FullRoute Struct Reference

DataType FullRoute. More...

#include <ad/map/route/FullRoute.hpp>

Collaboration diagram for ad::map::route::FullRoute:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< FullRoutePtr
 Smart pointer on FullRoute.
 
typedef std::shared_ptr< FullRoute const > ConstPtr
 Smart pointer on constant FullRoute.
 

Public Member Functions

 FullRoute ()=default
 standard constructor
 
 ~FullRoute ()=default
 standard destructor
 
 FullRoute (const FullRoute &other)=default
 standard copy constructor
 
 FullRoute (FullRoute &&other)=default
 standard move constructor
 
FullRouteoperator= (const FullRoute &other)=default
 standard assignment operator More...
 
FullRouteoperator= (FullRoute &&other)=default
 standard move operator More...
 
bool operator== (const FullRoute &other) const
 standard comparison operator More...
 
bool operator!= (const FullRoute &other) const
 standard comparison operator More...
 

Public Attributes

::ad::map::route::RoadSegmentList roadSegments
 
::ad::map::route::RoutePlanningCounter routePlanningCounter {0u}
 
::ad::map::route::SegmentCounter fullRouteSegmentCount {0u}
 
::ad::map::route::RouteLaneOffset destinationLaneOffset {0}
 
::ad::map::route::RouteLaneOffset minLaneOffset {0}
 
::ad::map::route::RouteLaneOffset maxLaneOffset {0}
 
::ad::map::route::RouteCreationMode routeCreationMode {::ad::map::route::RouteCreationMode::Undefined}
 

Detailed Description

DataType FullRoute.

Defines a route along a road containing a consecutive RouteRoadSegments, a counter of the segments and a route planning counter The counters are assigned once on route planning. The route planning counter indicates if a replanning of the route took place. The fullRouteSegmentCount indicates the number of route segments after route planning. If the stack transports only route previews or is shortening the route while traveling along the counters remain untouched.

Member Function Documentation

◆ operator!=()

bool ad::map::route::FullRoute::operator!= ( const FullRoute other) const
inline

standard comparison operator

Parameters
[in]otherOther FullRoute.
Returns
true if both FullRoute are different

◆ operator=() [1/2]

FullRoute& ad::map::route::FullRoute::operator= ( const FullRoute other)
default

standard assignment operator

Parameters
[in]otherOther FullRoute
Returns
Reference to this FullRoute.

◆ operator=() [2/2]

FullRoute& ad::map::route::FullRoute::operator= ( FullRoute &&  other)
default

standard move operator

Parameters
[in]otherOther FullRoute
Returns
Reference to this FullRoute.

◆ operator==()

bool ad::map::route::FullRoute::operator== ( const FullRoute other) const
inline

standard comparison operator

Parameters
[in]otherOther FullRoute
Returns
true if both FullRoute are equal

Member Data Documentation

◆ destinationLaneOffset

::ad::map::route::RouteLaneOffset ad::map::route::FullRoute::destinationLaneOffset {0}

The lane offset of the planning destination.

◆ maxLaneOffset

::ad::map::route::RouteLaneOffset ad::map::route::FullRoute::maxLaneOffset {0}

The maximal lane offset of the route.

◆ minLaneOffset

::ad::map::route::RouteLaneOffset ad::map::route::FullRoute::minLaneOffset {0}

The minimal lane offset of the route.

◆ routeCreationMode

::ad::map::route::RouteCreationMode ad::map::route::FullRoute::routeCreationMode {::ad::map::route::RouteCreationMode::Undefined}

Store the information on how the route was initially created to be able to consider this when applying route operations.


The documentation for this struct was generated from the following file: