maliput_malidrive
LaneLink Struct Reference

Detailed Description

Holds the lane link description in a XODR.

For example:

<OpenDRIVE>
...
<link>
<predecessor id="-1"/>
<successor id="-1"/>
</link>
...
</OpenDRIVE>

#include <src/maliput_malidrive/xodr/lane_link.h>

Classes

struct  LinkAttributes
 Contains the information about the predecessor/successor road. More...
 

Public Member Functions

bool operator== (const LaneLink &other) const
 Equality operator. More...
 
bool operator!= (const LaneLink &other) const
 Inequality operator. More...
 

Public Attributes

std::optional< LinkAttributespredecessor {std::nullopt}
 Road's predecessor. More...
 
std::optional< LinkAttributessuccessor {std::nullopt}
 Road's successor. More...
 

Static Public Attributes

static constexpr const char * kLaneLinkTag = "link"
 Convenient constants that hold the tag names in the XODR lane link header description. More...
 
static constexpr const char * kPredecessorTag = "predecessor"
 
static constexpr const char * kSuccessorTag = "successor"
 

Member Function Documentation

◆ operator!=()

bool operator!= ( const LaneLink other) const

Inequality operator.

◆ operator==()

bool operator== ( const LaneLink other) const

Equality operator.

Member Data Documentation

◆ kLaneLinkTag

constexpr const char* kLaneLinkTag = "link"
staticconstexpr

Convenient constants that hold the tag names in the XODR lane link header description.

◆ kPredecessorTag

constexpr const char* kPredecessorTag = "predecessor"
staticconstexpr

◆ kSuccessorTag

constexpr const char* kSuccessorTag = "successor"
staticconstexpr

◆ predecessor

std::optional<LinkAttributes> predecessor {std::nullopt}

Road's predecessor.

◆ successor

std::optional<LinkAttributes> successor {std::nullopt}

Road's successor.


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