|
maliput
|
#include <include/maliput/test_utilities/mock.h>
Public Member Functions | |
| MockSegment (const SegmentId &id) | |
| void | set_junction (Junction *junction) |
| void | set_lane (std::unique_ptr< MockLane > lane) |
| void | set_lane_boundary (std::unique_ptr< MockLaneBoundary > lane_boundary) |
Public Member Functions inherited from Segment | |
| virtual | ~Segment ()=default |
| SegmentId | id () const |
| Returns the persistent identifier. More... | |
| const Junction * | junction () const |
| Returns the Junction to which this Segment belongs. More... | |
| int | num_lanes () const |
| Returns the number of Lanes contained in this Segment. More... | |
| const Lane * | lane (int index) const |
Returns the Lane indexed by index. More... | |
| int | num_boundaries () const |
| Returns the number of LaneBoundaries contained in this Segment. More... | |
| const LaneBoundary * | boundary (int index) const |
Returns the LaneBoundary indexed by index. More... | |
| std::optional< bool > | is_intersection () const |
| Returns whether this segment is an intersection. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Segment | |
| Segment ()=default | |
| MockSegment | ( | const SegmentId & | id | ) |
| void set_junction | ( | Junction * | junction | ) |
| void set_lane | ( | std::unique_ptr< MockLane > | lane | ) |
| void set_lane_boundary | ( | std::unique_ptr< MockLaneBoundary > | lane_boundary | ) |