Public Member Functions | Protected Member Functions | Private Attributes | List of all members
carla::road::element::RoadInfo Class Referenceabstract

#include <RoadInfo.h>

+ Inheritance diagram for carla::road::element::RoadInfo:
+ Collaboration diagram for carla::road::element::RoadInfo:

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
NonCopyableoperator= (const NonCopyable &)=delete
NonCopyableoperator= (NonCopyable &&)=delete

Detailed Description

Definition at line 20 of file RoadInfo.h.

Constructor & Destructor Documentation

◆ ~RoadInfo()

virtual carla::road::element::RoadInfo::~RoadInfo ( )

◆ RoadInfo()

carla::road::element::RoadInfo::RoadInfo ( double  distance = 0.0)

Definition at line 34 of file RoadInfo.h.

Member Function Documentation

◆ AcceptVisitor()

virtual void carla::road::element::RoadInfo::AcceptVisitor ( RoadInfoVisitor )
pure virtual

◆ GetDistance()

double carla::road::element::RoadInfo::GetDistance ( ) const

Distance from road's start location.

Definition at line 28 of file RoadInfo.h.

References _s.

Referenced by carla::road::Map::GetSignalsInDistance().

+ Here is the caller graph for this function:

Member Data Documentation

◆ _s

double carla::road::element::RoadInfo::_s

Definition at line 38 of file RoadInfo.h.

Referenced by GetDistance().

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