CARLA
Classes | Typedefs | Functions
carla::opendrive::parser Namespace Reference

Classes

class  ControllerParser
 
struct  ElevationProfile
 
struct  Geometry
 
struct  GeometryArc
 
struct  GeometryParamPoly3
 
class  GeometryParser
 
struct  GeometryPoly3
 
struct  GeometrySpiral
 
class  GeoReferenceParser
 
class  JunctionParser
 
struct  Lane
 
struct  LaneOffset
 
class  LaneParser
 
struct  LaneSection
 
struct  LateralCrossfall
 
struct  LateralProfile
 
struct  LateralShape
 
class  ObjectParser
 
struct  Polynomial
 
class  ProfilesParser
 
struct  Road
 
class  RoadParser
 
struct  RoadTypeSpeed
 
class  SignalParser
 
class  TrafficGroupParser
 

Typedefs

using JuncId = road::JuncId
 
using LaneId = road::LaneId
 
using RoadId = road::RoadId
 

Functions

static void AddValidity (road::element::RoadInfoSignal *signal_reference, pugi::xml_node parent_node, const std::string &node_name, road::MapBuilder &map_builder)
 
static double ParseDouble (const std::string &string_value)
 
static geom::GeoLocation ParseGeoReference (const std::string &geo_reference_string)
 
static void ParseLanes (road::RoadId road_id, double s, const pugi::xml_node &parent_node, carla::road::MapBuilder &map_builder)
 
static road::Lane::LaneType StringToLaneType (std::string &&str)
 

Typedef Documentation

◆ JuncId

Definition at line 22 of file RoadParser.cpp.

◆ LaneId

Definition at line 21 of file RoadParser.cpp.

◆ RoadId

Definition at line 17 of file GeometryParser.cpp.

Function Documentation

◆ AddValidity()

static void carla::opendrive::parser::AddValidity ( road::element::RoadInfoSignal signal_reference,
pugi::xml_node  parent_node,
const std::string &  node_name,
road::MapBuilder map_builder 
)
static

Definition at line 17 of file SignalParser.cpp.

References carla::road::MapBuilder::AddValidityToSignalReference(), pugi::xml_node::child(), and pugi::xml_node::next_sibling().

Referenced by carla::opendrive::parser::SignalParser::Parse().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ParseDouble()

static double carla::opendrive::parser::ParseDouble ( const std::string &  string_value)
static

Definition at line 24 of file GeoReferenceParser.cpp.

Referenced by ParseGeoReference().

+ Here is the caller graph for this function:

◆ ParseGeoReference()

static geom::GeoLocation carla::opendrive::parser::ParseGeoReference ( const std::string &  geo_reference_string)
static

Definition at line 28 of file GeoReferenceParser.cpp.

References carla::log_debug(), carla::log_warning(), ParseDouble(), and carla::StringUtil::Split().

Referenced by carla::opendrive::parser::GeoReferenceParser::Parse().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ParseLanes()

static void carla::opendrive::parser::ParseLanes ( road::RoadId  road_id,
double  s,
const pugi::xml_node parent_node,
carla::road::MapBuilder map_builder 
)
static

◆ StringToLaneType()

static road::Lane::LaneType carla::opendrive::parser::StringToLaneType ( std::string &&  str)
static