#include <RoadInfo.h>
Public Member Functions | |
virtual void | AcceptVisitor (RoadInfoVisitor &)=0 |
double | GetDistance () const |
Distance from road's start location. More... | |
virtual | ~RoadInfo ()=default |
Protected Member Functions | |
RoadInfo (double distance=0.0) | |
Private Attributes | |
double | _s |
Additional Inherited Members | |
Private Member Functions inherited from carla::NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable (NonCopyable &&)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable & | operator= (NonCopyable &&)=delete |
Definition at line 20 of file RoadInfo.h.
|
virtualdefault |
|
inlineprotected |
Definition at line 34 of file RoadInfo.h.
|
pure virtual |
Implemented in carla::road::element::RoadInfoMarkRecord, carla::road::element::RoadInfoCrosswalk, carla::road::element::RoadInfoSignal, carla::road::element::RoadInfoLaneVisibility, carla::road::element::RoadInfoLaneBorder, carla::road::element::RoadInfoMarkTypeLine, carla::road::element::RoadInfoLaneHeight, carla::road::element::RoadInfoLaneOffset, carla::road::element::RoadInfoLaneWidth, carla::road::element::RoadInfoLaneAccess, carla::road::element::RoadInfoLaneMaterial, carla::road::element::RoadInfoElevation, carla::road::element::RoadInfoLaneRule, carla::road::element::RoadInfoSpeed, and carla::road::element::RoadInfoGeometry.
|
inline |
Distance from road's start location.
Definition at line 28 of file RoadInfo.h.
References _s.
Referenced by carla::road::Map::GetSignalsInDistance().
|
private |
Definition at line 38 of file RoadInfo.h.
Referenced by GetDistance().