maliput_malidrive
MalidriveXodrLaneProperties Struct Reference

Detailed Description

Holds useful XODR Lane properties.

#include <src/maliput_malidrive/builder/builder_tools.h>

Public Member Functions

 MalidriveXodrLaneProperties ()=delete
 
 MalidriveXodrLaneProperties (const xodr::RoadHeader *_road_header, const xodr::LaneSection *_lane_section, int _lane_section_index, const xodr::Lane *_lane)
 Constructs a MalidriveXodrLaneProperties. More...
 

Public Attributes

const xodr::RoadHeaderroad_header {}
 
const xodr::Lanelane {}
 
const xodr::LaneSectionlane_section {}
 
int lane_section_index {}
 

Constructor & Destructor Documentation

◆ MalidriveXodrLaneProperties() [1/2]

◆ MalidriveXodrLaneProperties() [2/2]

MalidriveXodrLaneProperties ( const xodr::RoadHeader _road_header,
const xodr::LaneSection _lane_section,
int  _lane_section_index,
const xodr::Lane _lane 
)

Constructs a MalidriveXodrLaneProperties.

Parameters
_road_headeris the pointer to the XODR Road that holds this lane. It must not be nullptr.
_lane_sectionis the pointer to the XODR LaneSection that holds this lane. It must not be nullptr.
_lane_section_indexis index of the LaneSection within the XODR road. It must not be negative.
_laneis the pointer to the XODR Lane. It must not be nullptr.
Exceptions
maliput::common::assertion_errorWhen either road_header, lane_section or lane are nullptrs, or lane_section_index is negative.

Member Data Documentation

◆ lane

const xodr::Lane* lane {}

◆ lane_section

const xodr::LaneSection* lane_section {}

◆ lane_section_index

int lane_section_index {}

◆ road_header

const xodr::RoadHeader* road_header {}

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