maliput_sparse
RoadGeometryLoader Class Reference

Detailed Description

Loads a RoadGeometry based on a maliput_sparse::parser::Parser implementation.

This functor is expected to be used by the maliput backends that rely on maliput_sparse to load the RoadGeometry.

#include <include/maliput_sparse/loader/road_geometry_loader.h>

Public Member Functions

 RoadGeometryLoader (std::unique_ptr< parser::Parser > parser, const BuilderConfiguration &builder_configuration)
 Constructs a RoadGeometryLoader. More...
 
std::unique_ptr< const maliput::api::RoadGeometry > operator() ()
 Builds a RoadGeometry. More...
 

Constructor & Destructor Documentation

◆ RoadGeometryLoader()

RoadGeometryLoader ( std::unique_ptr< parser::Parser parser,
const BuilderConfiguration builder_configuration 
)

Constructs a RoadGeometryLoader.

Parameters
parserThe parser to use for building the RoadGeometry.
builder_configurationThe configuration of the builder.

Member Function Documentation

◆ operator()()

std::unique_ptr< const maliput::api::RoadGeometry > operator() ( )

Builds a RoadGeometry.


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