maliput_malidrive
RoadNetworkConfiguration Struct Reference

Detailed Description

Structure to hold file paths for multiple RoadNetwork structures.

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

Public Member Functions

std::map< std::string, std::string > ToStringMap () const
 

Static Public Member Functions

static RoadNetworkConfiguration FromMap (const std::map< std::string, std::string > &road_network_configuration)
 Creates a RoadNetworkConfiguration out of a string dictionary. More...
 

Public Attributes

const RoadGeometryConfiguration road_geometry_configuration
 Road geometry configuration parameters. More...
 
std::optional< std::string > rule_registry {std::nullopt}
 Path to the configuration file to load a RuleRegistry. More...
 
std::optional< std::string > road_rule_book {std::nullopt}
 Path to the configuration file to load a RoadRulebook. More...
 
std::optional< std::string > traffic_light_book {std::nullopt}
 Path to the configuration file to load a TrafficLightBook. More...
 
std::optional< std::string > phase_ring_book {std::nullopt}
 Path to the configuration file to load a PhaseRingBook. More...
 
std::optional< std::string > intersection_book {std::nullopt}
 Path to the configuration file to load an IntersectionBook. More...
 

Member Function Documentation

◆ FromMap()

RoadNetworkConfiguration FromMap ( const std::map< std::string, std::string > &  road_network_configuration)
static

Creates a RoadNetworkConfiguration out of a string dictionary.

The keys of the map are listed at RoadNetwork configuration builder keys.

Parameters
road_network_configurationA string-string map containing the configuration for the builder.

◆ ToStringMap()

std::map< std::string, std::string > ToStringMap ( ) const

The keys of the map are listed at RoadNetwork configuration builder keys.

Returns
A string-string map containing the RoadGeometry configuration.

Member Data Documentation

◆ intersection_book

std::optional<std::string> intersection_book {std::nullopt}

Path to the configuration file to load an IntersectionBook.

◆ phase_ring_book

std::optional<std::string> phase_ring_book {std::nullopt}

Path to the configuration file to load a PhaseRingBook.

◆ road_geometry_configuration

const RoadGeometryConfiguration road_geometry_configuration

Road geometry configuration parameters.

◆ road_rule_book

std::optional<std::string> road_rule_book {std::nullopt}

Path to the configuration file to load a RoadRulebook.

◆ rule_registry

std::optional<std::string> rule_registry {std::nullopt}

Path to the configuration file to load a RuleRegistry.

◆ traffic_light_book

std::optional<std::string> traffic_light_book {std::nullopt}

Path to the configuration file to load a TrafficLightBook.


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