Drake
loader.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 #include <string>
5 
6 namespace drake {
7 namespace maliput {
8 
9 namespace api {
10 class RoadGeometry;
11 }
12 
13 namespace multilane {
14 
36 // TODO(maddog@tri.global) Describe complete format somewhere.
37 
39 std::unique_ptr<const api::RoadGeometry> Load(const std::string& input);
40 
42 std::unique_ptr<const api::RoadGeometry> LoadFile(const std::string& filename);
43 
44 } // namespace multilane
45 } // namespace maliput
46 } // namespace drake
Definition: automotive_demo.cc:88
Definition: arc_road_curve.cc:11
std::unique_ptr< const api::RoadGeometry > LoadFile(const std::string &filename)
Loads the named file as a maliput_monolane_builder document.
Definition: loader.cc:235
std::unique_ptr< const api::RoadGeometry > Load(const std::string &input)
Loads the input string as a maliput_monolane_builder document.
Definition: loader.cc:230