#include <RoadInfoSignal.h>
Public Member Functions | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
SignalOrientation | GetOrientation () const |
RoadId | GetRoadId () const |
double | GetS () const |
const Signal * | GetSignal () const |
SignId | GetSignalId () const |
double | GetT () const |
const std::vector< LaneValidity > & | GetValidities () const |
bool | IsDynamic () const |
RoadInfoSignal (SignId signal_id, Signal *signal, RoadId road_id, double s, double t, std::string orientation) | |
RoadInfoSignal (SignId signal_id, RoadId road_id, double s, double t, std::string orientation) | |
Public Member Functions inherited from carla::road::element::RoadInfo | |
double | GetDistance () const |
Distance from road's start location. More... | |
virtual | ~RoadInfo ()=default |
Private Attributes | |
std::string | _orientation |
RoadId | _road_id |
double | _s |
Signal * | _signal |
SignId | _signal_id |
double | _t |
std::vector< LaneValidity > | _validities |
friend | MapBuilder |
Additional Inherited Members | |
Protected Member Functions inherited from carla::road::element::RoadInfo | |
RoadInfo (double distance=0.0) | |
Definition at line 16 of file RoadInfoSignal.h.
|
inline |
Definition at line 19 of file RoadInfoSignal.h.
|
inline |
Definition at line 34 of file RoadInfoSignal.h.
|
inlinefinalvirtual |
Implements carla::road::element::RoadInfo.
Definition at line 47 of file RoadInfoSignal.h.
|
inline |
Definition at line 75 of file RoadInfoSignal.h.
References _orientation, carla::road::Both, carla::road::Negative, and carla::road::Positive.
Referenced by carla::client::Landmark::GetOrientation().
|
inline |
Definition at line 59 of file RoadInfoSignal.h.
References _road_id.
Referenced by carla::client::Landmark::GetRoadId().
|
inline |
Definition at line 67 of file RoadInfoSignal.h.
References _s.
Referenced by carla::client::Landmark::GetS().
|
inline |
Definition at line 55 of file RoadInfoSignal.h.
References _signal.
Referenced by carla::client::Landmark::GetCountry(), carla::client::Landmark::GetHeight(), carla::client::Landmark::GethOffset(), carla::client::Map::GetLandmarkGroup(), carla::client::Landmark::GetName(), carla::client::Landmark::GetPitch(), carla::client::Landmark::GetRoll(), carla::client::Landmark::GetSubType(), carla::client::Landmark::GetText(), carla::client::Landmark::GetTransform(), carla::client::Landmark::GetType(), carla::client::Landmark::GetUnit(), carla::client::Landmark::GetValue(), carla::client::Landmark::GetWidth(), and carla::client::Landmark::GetZOffset().
|
inline |
Definition at line 51 of file RoadInfoSignal.h.
References _signal_id.
Referenced by carla::client::Landmark::GetId().
|
inline |
Definition at line 71 of file RoadInfoSignal.h.
References _t.
Referenced by carla::client::Landmark::GetT().
|
inline |
Definition at line 85 of file RoadInfoSignal.h.
References _validities.
Referenced by carla::client::Landmark::GetValidities().
|
inline |
Definition at line 63 of file RoadInfoSignal.h.
References _signal, and carla::road::Signal::GetDynamic().
Referenced by carla::client::Landmark::IsDynamic().
|
private |
Definition at line 102 of file RoadInfoSignal.h.
Referenced by GetOrientation().
|
private |
Definition at line 96 of file RoadInfoSignal.h.
Referenced by GetRoadId().
|
private |
Definition at line 98 of file RoadInfoSignal.h.
Referenced by GetS().
|
private |
Definition at line 94 of file RoadInfoSignal.h.
Referenced by GetSignal(), and IsDynamic().
|
private |
Definition at line 92 of file RoadInfoSignal.h.
Referenced by GetSignalId().
|
private |
Definition at line 100 of file RoadInfoSignal.h.
Referenced by GetT().
|
private |
Definition at line 104 of file RoadInfoSignal.h.
Referenced by carla::road::MapBuilder::AddValidityToSignalReference(), and GetValidities().
|
private |
Definition at line 90 of file RoadInfoSignal.h.