CARLA
Loading...
Searching...
No Matches
carla::road::element::RoadInfoLaneRule Class Referencefinal

This record defines rules that can be applied to lanes to describe additonal properties not covered by the other attributes. More...

#include <RoadInfoLaneRule.h>

Inheritance diagram for carla::road::element::RoadInfoLaneRule:

Public Member Functions

void AcceptVisitor (RoadInfoVisitor &v) override final
const std::string & GetValue () const
 Recommended values: No Stopping At Any Time, Disabled Parking, and Car Pool.
 RoadInfoLaneRule (double s, std::string value)
Public Member Functions inherited from carla::road::element::RoadInfo
double GetDistance () const
 Distance from road's start location.
virtual ~RoadInfo ()=default

Private Attributes

const std::string _value

Additional Inherited Members

Protected Member Functions inherited from carla::road::element::RoadInfo
 RoadInfo (double distance=0.0)

Detailed Description

This record defines rules that can be applied to lanes to describe additonal properties not covered by the other attributes.

Definition at line 18 of file RoadInfoLaneRule.h.

Constructor & Destructor Documentation

◆ RoadInfoLaneRule()

carla::road::element::RoadInfoLaneRule::RoadInfoLaneRule ( double s,
std::string value )
inline

Definition at line 21 of file RoadInfoLaneRule.h.

References _value, and carla::road::element::RoadInfo::RoadInfo().

Member Function Documentation

◆ AcceptVisitor()

void carla::road::element::RoadInfoLaneRule::AcceptVisitor ( RoadInfoVisitor & v)
inlinefinaloverridevirtual

Implements carla::road::element::RoadInfo.

Definition at line 28 of file RoadInfoLaneRule.h.

◆ GetValue()

const std::string & carla::road::element::RoadInfoLaneRule::GetValue ( ) const
inline

Recommended values: No Stopping At Any Time, Disabled Parking, and Car Pool.

Definition at line 34 of file RoadInfoLaneRule.h.

References _value.

Member Data Documentation

◆ _value

const std::string carla::road::element::RoadInfoLaneRule::_value
private

Definition at line 40 of file RoadInfoLaneRule.h.

Referenced by GetValue(), and RoadInfoLaneRule().


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