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

DataType LaneInterval. More...

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

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

Public Types

typedef std::shared_ptr< LaneIntervalPtr
 Smart pointer on LaneInterval.
 
typedef std::shared_ptr< LaneInterval const > ConstPtr
 Smart pointer on constant LaneInterval.
 

Public Member Functions

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

Public Attributes

::ad::map::lane::LaneId laneId {0}
 
::ad::physics::ParametricValue start
 
::ad::physics::ParametricValue end
 
bool wrongWay {false}
 

Detailed Description

DataType LaneInterval.

Defines an interval on a lane containing a parametric start and end value. The ordering describes the logical start and logical end of the interval when traveling on a lane along the route. If the parametric values are given with start > end the route traveling direction is negative compared to the geometrical direction of the lane. Be awae: it doesn't provide insight into the nominal driving direction of a lane.

Member Function Documentation

◆ operator!=()

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

standard comparison operator

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

◆ operator=() [1/2]

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

standard assignment operator

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

◆ operator=() [2/2]

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

standard move operator

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

◆ operator==()

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

standard comparison operator

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

Member Data Documentation

◆ wrongWay

bool ad::map::route::LaneInterval::wrongWay {false}

True, if driving is against the correct driving direction


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