Policy for use of concurrency while building a RoadGeometry.
#include <src/maliput_malidrive/builder/road_geometry_configuration.h>
◆ Type
Enumerator |
---|
kSequential | |
kParallel | |
◆ FromStrToType()
Converts string to a Type.
- Parameters
-
type | String to be translated to a Type. Valid strings match the enumerator's name except without the leading 'k' and is all lower case. |
- Returns
- A BuildPolicy::Type value
- Exceptions
-
◆ FromTypeToStr()
Converts a Type to a string.
- Parameters
-
type | Type to be translated to a string. Enumerator's name matches the string except without the leading 'k' and is all lower case. |
- Returns
- A string.
◆ num_threads
std::optional<int> num_threads {} |
◆ type
Type type {Type::kSequential} |
The documentation for this struct was generated from the following files: