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

#include <RoadInfoGeometry.h>

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

Public Member Functions

void AcceptVisitor (RoadInfoVisitor &v) final
 
const GeometryGetGeometry () const
 
 RoadInfoGeometry (double s, std::unique_ptr< Geometry > &&geom)
 
- 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 std::unique_ptr< const Geometry_geom
 

Additional Inherited Members

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

Detailed Description

Definition at line 17 of file RoadInfoGeometry.h.

Constructor & Destructor Documentation

◆ RoadInfoGeometry()

carla::road::element::RoadInfoGeometry::RoadInfoGeometry ( double  s,
std::unique_ptr< Geometry > &&  geom 
)
inline

Definition at line 20 of file RoadInfoGeometry.h.

References _geom, and DEBUG_ASSERT.

Member Function Documentation

◆ AcceptVisitor()

void carla::road::element::RoadInfoGeometry::AcceptVisitor ( RoadInfoVisitor v)
inlinefinalvirtual

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

Definition at line 26 of file RoadInfoGeometry.h.

◆ GetGeometry()

const Geometry& carla::road::element::RoadInfoGeometry::GetGeometry ( ) const
inline

Definition at line 30 of file RoadInfoGeometry.h.

References _geom.

Member Data Documentation

◆ _geom

const std::unique_ptr<const Geometry> carla::road::element::RoadInfoGeometry::_geom
private

Definition at line 36 of file RoadInfoGeometry.h.

Referenced by GetGeometry(), and RoadInfoGeometry().


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