ad_rss
Public Types | Public Member Functions | Public Attributes | List of all members
ad::rss::world::LaneSegment Struct Reference

DataType LaneSegment. More...

#include <ad/rss/world/LaneSegment.hpp>

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::rss::world::LaneSegmentId id
 
::ad::rss::world::LaneSegmentType type {::ad::rss::world::LaneSegmentType::Normal}
 
::ad::rss::world::LaneDrivingDirection drivingDirection {::ad::rss::world::LaneDrivingDirection::Bidirectional}
 
::ad::physics::MetricRange length
 
::ad::physics::MetricRange width
 

Detailed Description

DataType LaneSegment.

Defines a lane segment.

Member Function Documentation

◆ operator!=()

bool ad::rss::world::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::rss::world::LaneSegment::operator= ( const LaneSegment other)
default

standard assignment operator

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

◆ operator=() [2/2]

LaneSegment& ad::rss::world::LaneSegment::operator= ( LaneSegment &&  other)
default

standard move operator

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

◆ operator==()

bool ad::rss::world::LaneSegment::operator== ( const LaneSegment other) const
inline

standard comparison operator

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

Member Data Documentation

◆ drivingDirection

The nominal direction of the traffic flow of this lane segment in context of the RssArea it belongs to.

◆ id

::ad::rss::world::LaneSegmentId ad::rss::world::LaneSegment::id

The id of the lane segment.

◆ length

::ad::physics::MetricRange ad::rss::world::LaneSegment::length

The metric range of the lane segments length.

◆ type

The type of this lane segment in context of the RssArea it belongs to.

◆ width

::ad::physics::MetricRange ad::rss::world::LaneSegment::width

The metric range of the lane segments width.


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