#include <MapData.h>
Public Member Functions | |
bool | ContainsRoad (RoadId id) const |
const std::unordered_map< ContId, std::unique_ptr< Controller > > & | GetControllers () const |
const geom::GeoLocation & | GetGeoReference () const |
Junction * | GetJunction (JuncId id) |
const Junction * | GetJunction (JuncId id) const |
std::unordered_map< JuncId, Junction > & | GetJunctions () |
const std::unordered_map< JuncId, Junction > & | GetJunctions () const |
template<typename T > | |
auto | GetLaneInfo (const RoadId road_id, const SectionId section_id, const LaneId lane_id, const double s) |
Road & | GetRoad (const RoadId id) |
const Road & | GetRoad (const RoadId id) const |
size_t | GetRoadCount () const |
template<typename T > | |
auto | GetRoadInfo (const RoadId id, const double s) |
std::unordered_map< RoadId, Road > & | GetRoads () |
const std::unordered_map< RoadId, Road > & | GetRoads () const |
const std::unordered_map< SignId, std::unique_ptr< Signal > > & | GetSignals () const |
Private Member Functions | |
MapData ()=default | |
Private Member Functions inherited from carla::MovableNonCopyable | |
MovableNonCopyable ()=default | |
MovableNonCopyable (const MovableNonCopyable &)=delete | |
MovableNonCopyable (MovableNonCopyable &&)=default | |
MovableNonCopyable & | operator= (const MovableNonCopyable &)=delete |
MovableNonCopyable & | operator= (MovableNonCopyable &&)=default |
Private Attributes | |
std::unordered_map< ContId, std::unique_ptr< Controller > > | _controllers |
geom::GeoLocation | _geo_reference |
std::unordered_map< JuncId, Junction > | _junctions |
std::unordered_map< RoadId, Road > | _roads |
std::unordered_map< SignId, std::unique_ptr< Signal > > | _signals |
Friends | |
class | MapBuilder |
|
privatedefault |
|
inline |
Definition at line 48 of file MapData.h.
References _roads, GetJunction(), and GetRoad().
|
inline |
Definition at line 82 of file MapData.h.
References _controllers.
Referenced by carla::road::Map::GetControllers().
|
inline |
Definition at line 32 of file MapData.h.
References _geo_reference, and GetRoads().
Referenced by carla::road::Map::GetGeoReference().
Definition at line 29 of file MapData.cpp.
References _junctions.
Referenced by ContainsRoad().
Definition at line 37 of file MapData.cpp.
References _junctions.
Definition at line 17 of file MapData.cpp.
References _junctions.
Referenced by carla::road::MapBuilder::ComputeJunctionRoadConflicts(), carla::road::MapBuilder::CreateJunctionBoundingBoxes(), and GetRoads().
Definition at line 44 of file MapData.h.
References _junctions.
|
inline |
Definition at line 66 of file MapData.h.
References carla::road::Road::GetLaneById(), and GetRoad().
Definition at line 21 of file MapData.cpp.
References _roads.
Referenced by carla::road::MapBuilder::ComputeSignalTransform(), ContainsRoad(), GetLaneInfo(), GetRoad(), GetRoadInfo(), and carla::road::IsLanePresent().
Definition at line 25 of file MapData.cpp.
References GetRoad().
|
inline |
|
inline |
Definition at line 13 of file MapData.cpp.
References _roads.
Referenced by GetGeoReference().
Definition at line 38 of file MapData.h.
References _roads, and GetJunctions().
|
inline |
Definition at line 78 of file MapData.h.
References _signals.
Referenced by carla::road::Map::GetSignals().
|
friend |
|
private |
Definition at line 100 of file MapData.h.
Referenced by GetControllers().
|
private |
Definition at line 92 of file MapData.h.
Referenced by GetGeoReference(), and carla::road::MapBuilder::SetGeoReference().
Definition at line 96 of file MapData.h.
Referenced by GetJunction(), and GetJunctions().
Definition at line 94 of file MapData.h.
Referenced by ContainsRoad(), GetRoad(), GetRoadCount(), and GetRoads().
Definition at line 98 of file MapData.h.
Referenced by carla::road::MapBuilder::CheckSignalsOnRoads(), and GetSignals().