maliput
|
#include <include/maliput/test_utilities/mock.h>
Public Member Functions | |
MockBranchPoint (const BranchPointId &id) | |
void | set_road_geometry (RoadGeometry *road_geometry) |
void | set_lane_end_set_a (std::unique_ptr< MockLaneEndSet > lane_end_set_a) |
void | set_lane_end_set_b (std::unique_ptr< MockLaneEndSet > lane_end_set_b) |
![]() | |
virtual | ~BranchPoint ()=default |
BranchPointId | id () const |
Returns the persistent identifier. More... | |
const RoadGeometry * | road_geometry () const |
Returns the RoadGeometry to which this BranchPoint belongs. More... | |
const LaneEndSet * | GetConfluentBranches (const LaneEnd &end) const |
Returns the set of LaneEnds on the same side as the given end , e.g., the LaneEnds merging with the given end . More... | |
const LaneEndSet * | GetOngoingBranches (const LaneEnd &end) const |
Returns the set of LaneEnds on the other side from the given end , e.g., the LaneEnds which end flows into. More... | |
std::optional< LaneEnd > | GetDefaultBranch (const LaneEnd &end) const |
Returns the default ongoing branch (if any) for the given end . More... | |
const LaneEndSet * | GetASide () const |
Returns the set of LaneEnds grouped together on the "A-side". More... | |
const LaneEndSet * | GetBSide () const |
Returns the set of LaneEnds grouped together on the "B-side". More... | |
Additional Inherited Members | |
![]() | |
BranchPoint ()=default | |
|
explicit |
void set_lane_end_set_a | ( | std::unique_ptr< MockLaneEndSet > | lane_end_set_a | ) |
void set_lane_end_set_b | ( | std::unique_ptr< MockLaneEndSet > | lane_end_set_b | ) |
void set_road_geometry | ( | RoadGeometry * | road_geometry | ) |