maliput
MockBranchPoint Class Referencefinal

#include <include/maliput/test_utilities/mock.h>

Inheritance diagram for MockBranchPoint:
[legend]

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)
 
- Public Member Functions inherited from BranchPoint
virtual ~BranchPoint ()=default
 
BranchPointId id () const
 Returns the persistent identifier. More...
 
const RoadGeometryroad_geometry () const
 Returns the RoadGeometry to which this BranchPoint belongs. More...
 
const LaneEndSetGetConfluentBranches (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 LaneEndSetGetOngoingBranches (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< LaneEndGetDefaultBranch (const LaneEnd &end) const
 Returns the default ongoing branch (if any) for the given end. More...
 
const LaneEndSetGetASide () const
 Returns the set of LaneEnds grouped together on the "A-side". More...
 
const LaneEndSetGetBSide () const
 Returns the set of LaneEnds grouped together on the "B-side". More...
 

Additional Inherited Members

- Protected Member Functions inherited from BranchPoint
 BranchPoint ()=default
 

Constructor & Destructor Documentation

◆ MockBranchPoint()

MockBranchPoint ( const BranchPointId id)
explicit

Member Function Documentation

◆ set_lane_end_set_a()

void set_lane_end_set_a ( std::unique_ptr< MockLaneEndSet lane_end_set_a)

◆ set_lane_end_set_b()

void set_lane_end_set_b ( std::unique_ptr< MockLaneEndSet lane_end_set_b)

◆ set_road_geometry()

void set_road_geometry ( RoadGeometry road_geometry)

The documentation for this class was generated from the following file: