ad_map_access
Classes | Typedefs | Enumerations | Functions
ad::map::intersection Namespace Reference

namespace intersection More...

Classes

class  CoreIntersection
 
class  Intersection
 Logical representation of an intersection along the route. More...
 

Typedefs

typedef std::shared_ptr< CoreIntersectionCoreIntersectionPtr
 typedef for shared_ptr of CoreIntersection class
 
typedef std::shared_ptr< CoreIntersection const > CoreIntersectionConstPtr
 typedef for shared_ptr of const CoreIntersection class
 
typedef std::shared_ptr< IntersectionIntersectionPtr
 typedef for shared_ptr of Intersection class
 
typedef std::shared_ptr< Intersection const > IntersectionConstPtr
 typedef for shared_ptr of const Intersection class
 

Enumerations

enum  IntersectionType : int32_t {
  IntersectionType::Unknown = 0, IntersectionType::Yield = 1, IntersectionType::Stop = 2, IntersectionType::AllWayStop = 3,
  IntersectionType::HasWay = 4, IntersectionType::Crosswalk = 5, IntersectionType::PriorityToRight = 6, IntersectionType::PriorityToRightAndStraight = 7,
  IntersectionType::TrafficLight = 8
}
 DataType IntersectionType. More...
 
enum  TurnDirection : int32_t {
  TurnDirection::Unknown = 0, TurnDirection::Right = 1, TurnDirection::Straight = 2, TurnDirection::Left = 3,
  TurnDirection::UTurn = 4
}
 DataType TurnDirection. More...
 

Functions

std::ostream & operator<< (std::ostream &os, IntersectionType const &value)
 standard ostream operator More...
 
std::ostream & operator<< (std::ostream &os, TurnDirection const &value)
 standard ostream operator More...
 

Detailed Description

namespace intersection

Contains datatypes related to intersection handling

Enumeration Type Documentation

◆ IntersectionType

DataType IntersectionType.

Defines the type of intersection

Enumerator
Unknown 

not set, invalid

Yield 

some call it GiveWay

Stop 

STOP in front

AllWayStop 

all way stop

HasWay 

being on the priority road

Crosswalk 

crosswalk

PriorityToRight 

priority to the right

PriorityToRightAndStraight 

priority to the right and straight (e.g. Singapore)

TrafficLight 

hitting a traffic light, the applicable traffic lights are return with

◆ TurnDirection

enum ad::map::intersection::TurnDirection : int32_t
strong

DataType TurnDirection.

Describes the turn directions within an intersection.

Enumerator
Unknown 

not set, invalid

Right 

turning right

Straight 

straight through the intersection

Left 

turning left

UTurn 

turning 180 degree

Function Documentation

◆ operator<<() [1/2]

std::ostream& ad::map::intersection::operator<< ( std::ostream &  os,
IntersectionType const &  value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]valueIntersectionType value
Returns
The stream object.

◆ operator<<() [2/2]

std::ostream& ad::map::intersection::operator<< ( std::ostream &  os,
TurnDirection const &  value 
)
inline

standard ostream operator

Parameters
[in]osThe output stream to write to
[in]valueTurnDirection value
Returns
The stream object.