maliput_sparse
|
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... | |
RoadGeometryLoader | ( | std::unique_ptr< parser::Parser > | parser, |
const BuilderConfiguration & | builder_configuration | ||
) |
Constructs a RoadGeometryLoader.
parser | The parser to use for building the RoadGeometry. |
builder_configuration | The configuration of the builder. |
std::unique_ptr< const maliput::api::RoadGeometry > operator() | ( | ) |
Builds a RoadGeometry.