maliput
MockIdIndex Class Referencefinal

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

Inheritance diagram for MockIdIndex:
[legend]

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)
 
- Public Member Functions inherited from RoadGeometry::IdIndex
virtual ~IdIndex ()=default
 
const LaneGetLane (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 SegmentGetSegment (const SegmentId &id) const
 Returns the Segment identified by id, or nullptr if id is unknown. More...
 
const JunctionGetJunction (const JunctionId &id) const
 Returns the Junction identified by id, or nullptr if id is unknown. More...
 
const BranchPointGetBranchPoint (const BranchPointId &id) const
 Returns the BranchPoint identified by id, or nullptr if id is unknown. More...
 

Additional Inherited Members

- Protected Member Functions inherited from RoadGeometry::IdIndex
 IdIndex ()=default
 

Constructor & Destructor Documentation

◆ MockIdIndex()

MockIdIndex ( )
default

Member Function Documentation

◆ add_branchpoint_to_map()

void add_branchpoint_to_map ( const BranchPointId id,
const BranchPoint branch_point 
)

◆ add_junction_to_map()

void add_junction_to_map ( const JunctionId id,
const Junction junction 
)

◆ add_lane_to_map()

void add_lane_to_map ( const LaneId id,
const Lane lane 
)

◆ add_segment_to_map()

void add_segment_to_map ( const SegmentId id,
const Segment segment 
)

◆ MALIPUT_NO_COPY_NO_MOVE_NO_ASSIGN()

MALIPUT_NO_COPY_NO_MOVE_NO_ASSIGN ( MockIdIndex  )

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