Skip to main content

Module ffi

Module ffi 

Source

Structs§

ConstOutlinePtr
Shared struct for Outline pointers. This is needed because *const can’t be used directly in the CxxVector collection.
ConstRoadMarkingPtr
Shared struct for RoadMarking pointers. This is needed because *const can’t be used directly in the CxxVector collection.
ConstRoadObjectPtr
Shared struct for RoadObject pointers. This is needed because *const can’t be used directly in the CxxVector collection.
Outline
OutlineCornerData
Shared struct for outline corner data. This is a flat representation of OutlineCorner to avoid a new opaque CXX type. height is 0.0 when has_height is false.
RoadMarking
RoadMarkingBook
RoadMarkingType
Shared enum representing different types of road markings. This is needed to access the enum variant from Rust API since the C++ enum has an opaque implementation. The order of these variants must match with the order of the enum class defined in maliput C++ API.
RoadMarkingValueData
Shared struct for an optional RoadMarkingValue. value and unit are meaningful only when has_value is true.
RoadMarkingValueUnit
Shared enum representing the unit of a RoadMarkingValue. The order of these variants must match with the order of the enum class defined in maliput C++ API.
RoadObject
RoadObjectBook
RoadObjectType
Shared enum representing different types of road objects. This is needed to access the enum variant from Rust API since the C++ enum has an opaque implementation. The order of these variants must match with the order of the enum class defined in maliput C++ API.
StringPair
Shared struct for pairs in a properties map. This is needed because maps can’t be bound directly.

Functions§

Outline_corners
Outline_id
Outline_is_closed
Outline_num_corners
RoadMarkingBook_FindByLane
RoadMarkingBook_FindByType
RoadMarkingBook_GetRoadMarking
RoadMarkingBook_RoadMarkings
RoadMarking_bounding_box
RoadMarking_id
RoadMarking_marking_type
RoadMarking_name
RoadMarking_orientation
RoadMarking_outlines
RoadMarking_position_has_lane_position
RoadMarking_position_inertial
RoadMarking_position_lane_h
RoadMarking_position_lane_id
RoadMarking_position_lane_r
RoadMarking_position_lane_s
RoadMarking_related_lanes
RoadMarking_value
RoadObjectBook_FindByLane
RoadObjectBook_FindByType
RoadObjectBook_FindInRadius
RoadObjectBook_GetRoadObject
RoadObjectBook_RoadObjects
RoadObject_bounding_box
RoadObject_id
RoadObject_name
RoadObject_object_type
RoadObject_orientation
RoadObject_outlines
RoadObject_position_has_lane_position
RoadObject_position_inertial
RoadObject_position_lane_h
RoadObject_position_lane_id
RoadObject_position_lane_r
RoadObject_position_lane_s
RoadObject_properties
RoadObject_related_lanes
RoadObject_subtype

Type Aliases§

BoundingBox
InertialPosition
Rotation
StringWrapper
Vector3