#include <InformationSet.h>
Inheritance diagram for carla::road::InformationSet:
Collaboration diagram for carla::road::InformationSet:Public Member Functions | |
| template<typename T > | |
| const T * | GetInfo (const double s) const |
| Returns single info given a type and a distance (s) from the start of the road. More... | |
| template<typename T > | |
| std::vector< const T * > | GetInfos () const |
| Return all infos given a type from the start of the road. More... | |
| template<typename T > | |
| std::vector< const T * > | GetInfos (const double min_s, const double max_s) const |
| Return all infos given a type in a given range of the road. More... | |
| InformationSet ()=default | |
| InformationSet (std::vector< std::unique_ptr< element::RoadInfo >> &&vec) | |
Private Attributes | |
| RoadElementSet< std::unique_ptr< element::RoadInfo > > | _road_set |
Additional Inherited Members | |
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 |
Definition at line 20 of file InformationSet.h.
|
default |
|
inline |
Definition at line 25 of file InformationSet.h.
|
inline |
Returns single info given a type and a distance (s) from the start of the road.
Definition at line 42 of file InformationSet.h.
References _road_set.
Referenced by carla::road::Road::GetDirectedPointIn(), carla::road::Road::GetDirectedPointInNoLaneOffset(), carla::road::Lane::GetInfo(), and carla::road::Road::GetInfo().
Here is the caller graph for this function:
|
inline |
Return all infos given a type from the start of the road.
Definition at line 30 of file InformationSet.h.
References _road_set.
Referenced by carla::road::Lane::GetInfos(), carla::road::Road::GetInfos(), carla::road::Road::GetInfosInRange(), and carla::road::Road::GetNearestPoint().
Here is the caller graph for this function:
|
inline |
Return all infos given a type in a given range of the road.
Definition at line 49 of file InformationSet.h.
References _road_set.
|
private |
Definition at line 69 of file InformationSet.h.
Referenced by GetInfo(), and GetInfos().
1.8.13