CARLA
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
Model.h File Reference
#include <map>
#include <optional>
#include <string>
#include <vector>
#include "Geometry.h"

Go to the source code of this file.

Classes

struct  twinmodel::Connection
 
struct  twinmodel::Controller
 
struct  twinmodel::Elevation
 
struct  twinmodel::Junction
 
struct  twinmodel::Lane
 One lane of a road, numbered outward from the reference line. More...
 
struct  twinmodel::LaneLink
 
struct  twinmodel::Marking
 
struct  twinmodel::Road
 
struct  twinmodel::RoadLink
 
struct  twinmodel::Signal
 
struct  twinmodel::SignalType
 
struct  twinmodel::TwinModelData
 Everything the OpenDRIVE writer reads. More...
 

Namespaces

namespace  twinmodel
 

Typedefs

using twinmodel::Tags = std::map< std::string, std::string >
 

Enumerations

enum class  twinmodel::ContactPoint { twinmodel::Start , twinmodel::End }
 
enum class  twinmodel::Direction { twinmodel::Forward , twinmodel::Backward , twinmodel::Both }
 
enum class  twinmodel::LaneType {
  twinmodel::Driving , twinmodel::Sidewalk , twinmodel::Shoulder , twinmodel::Parking ,
  twinmodel::Biking , twinmodel::Border , twinmodel::Restricted , twinmodel::Median ,
  twinmodel::None
}
 
enum class  twinmodel::LinkElement { twinmodel::Road , twinmodel::Junction }
 
enum class  twinmodel::MarkingColor { twinmodel::White , twinmodel::Yellow }
 
enum class  twinmodel::MarkingKind {
  twinmodel::None , twinmodel::Solid , twinmodel::Broken , twinmodel::SolidSolid ,
  twinmodel::SolidBroken , twinmodel::BrokenSolid , twinmodel::BrokenBroken
}
 
enum class  twinmodel::SignalKind {
  twinmodel::TrafficLight , twinmodel::TrafficLightPedestrian , twinmodel::SpeedLimit , twinmodel::Stop ,
  twinmodel::Yield , twinmodel::PriorityRoad , twinmodel::Crosswalk
}
 OpenDRIVE type/subtype follow road/SignalType.h; the crosswalk is not a signal in CARLA but an <object type="crosswalk">. More...
 

Functions

const std::string * twinmodel::FindTag (const Tags &tags, const std::string &key)
 
SignalType twinmodel::GetSignalType (SignalKind kind)
 
bool twinmodel::HasTag (const Tags &tags, const std::string &key, const std::string &value)
 
const char * twinmodel::ToString (ContactPoint point)
 
const char * twinmodel::ToString (Direction direction)
 
const char * twinmodel::ToString (LaneType type)
 
const char * twinmodel::ToString (MarkingColor color)
 
const char * twinmodel::ToString (MarkingKind kind)