Public Member Functions | Private Attributes | List of all members
carla::road::element::RoadInfoLaneMaterial Class Referencefinal

#include <RoadInfoLaneMaterial.h>

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

Public Member Functions

void AcceptVisitor (RoadInfoVisitor &v) override final
double GetFriction () const
double GetRoughness () const
const std::string & GetSurface () const
 RoadInfoLaneMaterial (double s, std::string surface, double friction, double roughness)
- Public Member Functions inherited from carla::road::element::RoadInfo
double GetDistance () const
 Distance from road's start location. More...
virtual ~RoadInfo ()=default

Private Attributes

const double _friction
const double _roughness
const std::string _surface

Additional Inherited Members

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

Detailed Description

Definition at line 16 of file RoadInfoLaneMaterial.h.

Constructor & Destructor Documentation

◆ RoadInfoLaneMaterial()

carla::road::element::RoadInfoLaneMaterial::RoadInfoLaneMaterial ( double  s,
std::string  surface,
double  friction,
double  roughness 

Definition at line 19 of file RoadInfoLaneMaterial.h.

Member Function Documentation

◆ AcceptVisitor()

void carla::road::element::RoadInfoLaneMaterial::AcceptVisitor ( RoadInfoVisitor v)

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

Definition at line 30 of file RoadInfoLaneMaterial.h.

◆ GetFriction()

double carla::road::element::RoadInfoLaneMaterial::GetFriction ( ) const

Definition at line 38 of file RoadInfoLaneMaterial.h.

References _friction.

◆ GetRoughness()

double carla::road::element::RoadInfoLaneMaterial::GetRoughness ( ) const

Definition at line 42 of file RoadInfoLaneMaterial.h.

References _roughness.

◆ GetSurface()

const std::string& carla::road::element::RoadInfoLaneMaterial::GetSurface ( ) const

Definition at line 34 of file RoadInfoLaneMaterial.h.

References _surface.

Member Data Documentation

◆ _friction

const double carla::road::element::RoadInfoLaneMaterial::_friction

Definition at line 50 of file RoadInfoLaneMaterial.h.

Referenced by GetFriction().

◆ _roughness

const double carla::road::element::RoadInfoLaneMaterial::_roughness

Definition at line 52 of file RoadInfoLaneMaterial.h.

Referenced by GetRoughness().

◆ _surface

const std::string carla::road::element::RoadInfoLaneMaterial::_surface

Definition at line 48 of file RoadInfoLaneMaterial.h.

Referenced by GetSurface().

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