maliput_integration
|
Classes | |
class | ChronoTimer |
Timer implementation based on STL chrono library. More... | |
struct | DragwayBuildProperties |
Contains the attributes needed for building a dragway::RoadGeometry. More... | |
class | DynamicEnvironmentHandler |
Abstract API for managing the rules dynamic states of a maliput::api::RoadNetwork. More... | |
class | FixedPhaseIterationHandler |
DynamicEnvironmentHandler class implementation. More... | |
struct | MalidriveBuildProperties |
Contains the attributes needed for building a malidrive::RoadNetwork. More... | |
struct | MaliputOsmBuildProperties |
Contains the attributes needed for building a maliput_osm RoadNetwork. More... | |
struct | MultilaneBuildProperties |
Contains the attributes needed for building a multilane::RoadGeometry. More... | |
class | Timer |
Simple Timer API. More... | |
Enumerations | |
enum | DynamicEnvironmentHandlerType { kFixedPhaseIterationHandler } |
Types of DynamicEnvironmentHandler implementations. More... | |
enum | TimerType { kChronoTimer } |
Timer implementations. More... | |
enum | MaliputImplementation { kMalidrive, kDragway, kMultilane, kOsm } |
Available maliput implementations. More... | |
Functions | |
template<typename... Args> | |
std::unique_ptr< DynamicEnvironmentHandler > | CreateDynamicEnvironmentHandler (const DynamicEnvironmentHandlerType &type, Args &&... args) |
Create Timer. More... | |
std::unique_ptr< Timer > | CreateTimer (const TimerType &type) |
Create Timer. More... | |
std::string | MaliputImplementationToString (MaliputImplementation maliput_impl) |
Returns the std::string version of maliput_impl . More... | |
MaliputImplementation | StringToMaliputImplementation (const std::string &maliput_impl) |
Returns the MaliputImplementation version of maliput_impl . More... | |
std::unique_ptr< api::RoadNetwork > | CreateDragwayRoadNetwork (const DragwayBuildProperties &build_properties) |
Builds an api::RoadNetwork based on Dragway implementation. More... | |
std::unique_ptr< api::RoadNetwork > | CreateMultilaneRoadNetwork (const MultilaneBuildProperties &build_properties) |
Builds an api::RoadNetwork based on Multilane implementation. More... | |
std::unique_ptr< api::RoadNetwork > | CreateMalidriveRoadNetwork (const MalidriveBuildProperties &build_properties) |
Builds an api::RoadNetwork based on Malidrive implementation. More... | |
std::unique_ptr< api::RoadNetwork > | CreateMaliputOsmRoadNetwork (const MaliputOsmBuildProperties &build_properties) |
Builds an api::RoadNetwork based on MaliputOsm implementation. More... | |
std::unique_ptr< api::RoadNetwork > | LoadRoadNetwork (MaliputImplementation maliput_implementation, const DragwayBuildProperties &dragway_build_properties, const MultilaneBuildProperties &multilane_build_properties, const MalidriveBuildProperties &malidrive_build_properties, const MaliputOsmBuildProperties &maliput_osm_build_properties) |
Builds an api::RoadNetwork using the implementation that maliput_implementation describes. More... | |
std::string | GetResource (const MaliputImplementation &maliput_implementation, const std::string &resource_name) |
Obtains the correspondent path to the resource_name located at the maliput's implementation's resource directory if exists, otherwise it returns resource_name . More... | |
|
strong |
Types of DynamicEnvironmentHandler implementations.
Enumerator | |
---|---|
kFixedPhaseIterationHandler |
|
strong |
std::unique_ptr< api::RoadNetwork > CreateDragwayRoadNetwork | ( | const DragwayBuildProperties & | build_properties | ) |
Builds an api::RoadNetwork based on Dragway implementation.
build_properties | Holds the properties to build the RoadNetwork. |
std::unique_ptr<DynamicEnvironmentHandler> maliput::integration::CreateDynamicEnvironmentHandler | ( | const DynamicEnvironmentHandlerType & | type, |
Args &&... | args | ||
) |
Create Timer.
type | A DynamicEnvironmentHandlerType. |
args | Arguments to be forwarded to the selected implementation. |
Args | Type of the arguments to be forwarded to the selected implementation. |
std::unique_ptr< api::RoadNetwork > CreateMalidriveRoadNetwork | ( | const MalidriveBuildProperties & | build_properties | ) |
Builds an api::RoadNetwork based on Malidrive implementation.
build_properties | Holds the properties to build the RoadNetwork. |
maliput::common::assertion_error | When build_properties.xodr_file_path is empty. |
std::unique_ptr< api::RoadNetwork > CreateMaliputOsmRoadNetwork | ( | const MaliputOsmBuildProperties & | build_properties | ) |
Builds an api::RoadNetwork based on MaliputOsm implementation.
build_properties | Holds the properties to build the RoadNetwork. |
maliput::common::assertion_error | When build_properties.osm_file is empty. |
std::unique_ptr< api::RoadNetwork > CreateMultilaneRoadNetwork | ( | const MultilaneBuildProperties & | build_properties | ) |
Builds an api::RoadNetwork based on Multilane implementation.
build_properties | Holds the properties to build the RoadNetwork. |
maliput::common::assertion_error | When build_properties.yaml_file is empty. |
std::string GetResource | ( | const MaliputImplementation & | maliput_implementation, |
const std::string & | resource_name | ||
) |
Obtains the correspondent path to the resource_name
located at the maliput's implementation's resource directory if exists, otherwise it returns resource_name
.
maliput_implementation | One of MaliputImplementation. (kDragway, kMultilane, kMalidrive). |
resource_name | Name of the resource. |
resource_name
when resource_name
is an absolute path.resource_name
when resource_name
is relative path and it is found at the maliput's implementation's resource folderresource_name
when resource_name
is relative path but it isn't found at the malidrive resource folder. std::unique_ptr< api::RoadNetwork > LoadRoadNetwork | ( | MaliputImplementation | maliput_implementation, |
const DragwayBuildProperties & | dragway_build_properties, | ||
const MultilaneBuildProperties & | multilane_build_properties, | ||
const MalidriveBuildProperties & | malidrive_build_properties, | ||
const MaliputOsmBuildProperties & | maliput_osm_build_properties | ||
) |
Builds an api::RoadNetwork using the implementation that maliput_implementation
describes.
maliput_implementation | One of MaliputImplementation. (kDragway, kMultilane, kMalidrive). |
dragway_build_properties | Holds the properties to build a dragway RoadNetwork. |
multilane_build_properties | Holds the properties to build a multilane RoadNetwork. |
malidrive_build_properties | Holds the properties to build a malidrive RoadNetwork. |
maliput_osm_build_properties | Holds the properties to build a maliput_osm RoadNetwork. |
maliput::common::assertion_error | When maliput_implementation is unknown. |
std::string MaliputImplementationToString | ( | MaliputImplementation | maliput_impl | ) |
Returns the std::string version of maliput_impl
.
MaliputImplementation StringToMaliputImplementation | ( | const std::string & | maliput_impl | ) |
Returns the MaliputImplementation version of maliput_impl
.