Drake
RoadGeometry::IdIndex Class Referenceabstract

Abstract interface for a collection of methods which allow accessing objects in a RoadGeometry's object graph (Lanes, Segments, Junctions, BranchPoints) by their unique id's. More...

#include <drake/automotive/maliput/api/road_geometry.h>

Inheritance diagram for RoadGeometry::IdIndex:
[legend]

Public Member Functions

virtual ~IdIndex ()=default
 
const LaneGetLane (const LaneId &id) const
 Returns the Lane identified by id, or nullptr if id is unknown. More...
 
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...
 
Does not allow copy, move, or assignment
 IdIndex (const IdIndex &)=delete
 
IdIndexoperator= (const IdIndex &)=delete
 
 IdIndex (IdIndex &&)=delete
 
IdIndexoperator= (IdIndex &&)=delete
 

Protected Member Functions

 IdIndex ()=default
 

Detailed Description

Abstract interface for a collection of methods which allow accessing objects in a RoadGeometry's object graph (Lanes, Segments, Junctions, BranchPoints) by their unique id's.

Constructor & Destructor Documentation

IdIndex ( const IdIndex )
delete
IdIndex ( IdIndex &&  )
delete
virtual ~IdIndex ( )
virtualdefault
IdIndex ( )
protecteddefault

Member Function Documentation

const BranchPoint* GetBranchPoint ( const BranchPointId id) const
inline

Returns the BranchPoint identified by id, or nullptr if id is unknown.

Here is the caller graph for this function:

const Junction* GetJunction ( const JunctionId id) const
inline

Returns the Junction identified by id, or nullptr if id is unknown.

Here is the caller graph for this function:

const Lane* GetLane ( const LaneId id) const
inline

Returns the Lane identified by id, or nullptr if id is unknown.

Here is the caller graph for this function:

const Segment* GetSegment ( const SegmentId id) const
inline

Returns the Segment identified by id, or nullptr if id is unknown.

Here is the caller graph for this function:

IdIndex& operator= ( const IdIndex )
delete
IdIndex& operator= ( IdIndex &&  )
delete

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