maliput_malidrive
RoadLink::LinkAttributes Struct Reference

Detailed Description

Contains the information about the predecessor/successor road.

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

Public Types

using Id = maliput::api::TypeSpecificIdentifier< struct LinkAttributes >
 

Public Member Functions

bool operator== (const LinkAttributes &other) const
 Equality operator. More...
 

Public Attributes

ElementType element_type {}
 Type of the linked element. More...
 
Id element_id {"none"}
 ID of the linked element. More...
 
std::optional< ContactPointcontact_point {std::nullopt}
 Contact point of link on the linked element. More...
 

Static Public Attributes

static constexpr const char * kElementType = "elementType"
 Convenient constants that hold the tag names in the XODR road header description. More...
 
static constexpr const char * kElementId = "elementId"
 
static constexpr const char * kContactPoint = "contactPoint"
 

Member Typedef Documentation

◆ Id

Member Function Documentation

◆ operator==()

bool operator== ( const LinkAttributes other) const

Equality operator.

Member Data Documentation

◆ contact_point

std::optional<ContactPoint> contact_point {std::nullopt}

Contact point of link on the linked element.

◆ element_id

Id element_id {"none"}

ID of the linked element.

◆ element_type

ElementType element_type {}

Type of the linked element.

◆ kContactPoint

constexpr const char* kContactPoint = "contactPoint"
staticconstexpr

◆ kElementId

constexpr const char* kElementId = "elementId"
staticconstexpr

◆ kElementType

constexpr const char* kElementType = "elementType"
staticconstexpr

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


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