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

DataType LaneSegment. More...

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

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

Public Types

typedef std::shared_ptr< LaneSegmentPtr
 Smart pointer on LaneSegment.
 
typedef std::shared_ptr< LaneSegment const > ConstPtr
 Smart pointer on constant LaneSegment.
 

Public Member Functions

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

Public Attributes

::ad::map::lane::LaneId leftNeighbor {0}
 
::ad::map::lane::LaneId rightNeighbor {0}
 
::ad::map::lane::LaneIdList predecessors
 
::ad::map::lane::LaneIdList successors
 
::ad::map::route::LaneInterval laneInterval
 
::ad::map::route::RouteLaneOffset routeLaneOffset {0}
 

Detailed Description

DataType LaneSegment.

A lane segment is a part of a road segment and therefore created with the context of a route. It consists of a specific lane interval and the connection (predecessors, successors, right and left neighbor) of the lane interval to other lane intervals within the route. Be aware: The semantics of the connection is respecting the route direction.

Member Function Documentation

◆ operator!=()

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

standard comparison operator

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

◆ operator=() [1/2]

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

standard assignment operator

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

◆ operator=() [2/2]

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

standard move operator

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

◆ operator==()

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

standard comparison operator

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

Member Data Documentation

◆ laneInterval

::ad::map::route::LaneInterval ad::map::route::LaneSegment::laneInterval

The interval of the lane

◆ leftNeighbor

::ad::map::lane::LaneId ad::map::route::LaneSegment::leftNeighbor {0}

The identifier of the left neighboring lane

◆ predecessors

::ad::map::lane::LaneIdList ad::map::route::LaneSegment::predecessors

The list of lane identifiers of preceding lanes

◆ rightNeighbor

::ad::map::lane::LaneId ad::map::route::LaneSegment::rightNeighbor {0}

The identifier of the right neighboring lane

◆ routeLaneOffset

::ad::map::route::RouteLaneOffset ad::map::route::LaneSegment::routeLaneOffset {0}

The offset of the lane in number of lane changes left (–) or right (++) from start of the route planning.

◆ successors

::ad::map::lane::LaneIdList ad::map::route::LaneSegment::successors

The list of lane identifiers of succeeding lanes


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