CARLA
Public Types | Public Member Functions | Public Attributes | List of all members
carla::road::element::LaneMarking Struct Reference

#include <LaneMarking.h>

+ Collaboration diagram for carla::road::element::LaneMarking:

Public Types

enum  Color : uint8_t {
  Color::Standard = 0u, Color::Blue = 1u, Color::Green = 2u, Color::Red = 3u,
  Color::White = Standard, Color::Yellow = 4u, Color::Other = 5u
}
 
enum  LaneChange : uint8_t { LaneChange::None = 0x00, LaneChange::Right = 0x01, LaneChange::Left = 0x02, LaneChange::Both = 0x03 }
 Can be used as flags. More...
 
enum  Type {
  Type::Other, Type::Broken, Type::Solid, Type::SolidSolid,
  Type::SolidBroken, Type::BrokenSolid, Type::BrokenBroken, Type::BottsDots,
  Type::Grass, Type::Curb, Type::None
}
 

Public Member Functions

 LaneMarking (const RoadInfoMarkRecord &info)
 

Public Attributes

Color color = Color::Standard
 
LaneChange lane_change = LaneChange::None
 
Type type = Type::None
 
double width = 0.0
 

Detailed Description

Definition at line 17 of file LaneMarking.h.

Member Enumeration Documentation

◆ Color

Enumerator
Standard 
Blue 
Green 
Red 
White 
Yellow 
Other 

Definition at line 38 of file LaneMarking.h.

◆ LaneChange

Can be used as flags.

Enumerator
None 
Right 
Left 
Both 

Definition at line 49 of file LaneMarking.h.

◆ Type

Enumerator
Other 
Broken 
Solid 
SolidSolid 
SolidBroken 
BrokenSolid 
BrokenBroken 
BottsDots 
Grass 
Curb 
None 

Definition at line 19 of file LaneMarking.h.

Constructor & Destructor Documentation

◆ LaneMarking()

carla::road::element::LaneMarking::LaneMarking ( const RoadInfoMarkRecord info)
explicit

Definition at line 76 of file LaneMarking.cpp.

Member Data Documentation

◆ color

Color carla::road::element::LaneMarking::color = Color::Standard

Definition at line 60 of file LaneMarking.h.

◆ lane_change

LaneChange carla::road::element::LaneMarking::lane_change = LaneChange::None

Definition at line 62 of file LaneMarking.h.

◆ type

Type carla::road::element::LaneMarking::type = Type::None

Definition at line 58 of file LaneMarking.h.

◆ width

double carla::road::element::LaneMarking::width = 0.0

Definition at line 64 of file LaneMarking.h.


The documentation for this struct was generated from the following files: