maliput
|
#include <include/maliput/test_utilities/mock.h>
Public Member Functions | |
MALIPUT_NO_COPY_NO_MOVE_NO_ASSIGN (MockIdIndex) | |
MockIdIndex ()=default | |
void | add_junction_to_map (const JunctionId &id, const Junction *junction) |
void | add_lane_to_map (const LaneId &id, const Lane *lane) |
void | add_segment_to_map (const SegmentId &id, const Segment *segment) |
void | add_branchpoint_to_map (const BranchPointId &id, const BranchPoint *branch_point) |
![]() | |
virtual | ~IdIndex ()=default |
const Lane * | GetLane (const LaneId &id) const |
Returns the Lane identified by id , or nullptr if id is unknown. More... | |
const std::unordered_map< LaneId, const Lane * > & | GetLanes () const |
const Segment * | GetSegment (const SegmentId &id) const |
Returns the Segment identified by id , or nullptr if id is unknown. More... | |
const Junction * | GetJunction (const JunctionId &id) const |
Returns the Junction identified by id , or nullptr if id is unknown. More... | |
const BranchPoint * | GetBranchPoint (const BranchPointId &id) const |
Returns the BranchPoint identified by id , or nullptr if id is unknown. More... | |
Additional Inherited Members | |
![]() | |
IdIndex ()=default | |
|
default |
void add_branchpoint_to_map | ( | const BranchPointId & | id, |
const BranchPoint * | branch_point | ||
) |
void add_junction_to_map | ( | const JunctionId & | id, |
const Junction * | junction | ||
) |
MALIPUT_NO_COPY_NO_MOVE_NO_ASSIGN | ( | MockIdIndex | ) |