libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::RouteDescription::SuggestedLaneDescription Class Reference

A suggested route lanes. More...

#include <RouteDescription.h>

Inheritance diagram for osmscout::RouteDescription::SuggestedLaneDescription:

Public Member Functions

std::string GetDebugString () const override
uint8_t GetFrom () const
uint8_t GetTo () const
LaneTurn GetTurn () const
 SuggestedLaneDescription (uint8_t from, uint8_t to, LaneTurn turn)
Public Member Functions inherited from osmscout::RouteDescription::Description
virtual ~Description ()=default

Static Public Attributes

static constexpr std::string_view Key = "SuggestedLanes"

Detailed Description

A suggested route lanes.

It specifies range of lanes <from, to> that driver should use. Lanes are counted from left (just route direction, not opposite direction), left-most lane has index 0, both indexes are inclusive.

Constructor & Destructor Documentation

◆ SuggestedLaneDescription()

osmscout::RouteDescription::SuggestedLaneDescription::SuggestedLaneDescription ( uint8_t from,
uint8_t to,
LaneTurn turn )

Member Function Documentation

◆ GetDebugString()

std::string osmscout::RouteDescription::SuggestedLaneDescription::GetDebugString ( ) const
overridevirtual

◆ GetFrom()

uint8_t osmscout::RouteDescription::SuggestedLaneDescription::GetFrom ( ) const
inline

◆ GetTo()

uint8_t osmscout::RouteDescription::SuggestedLaneDescription::GetTo ( ) const
inline

◆ GetTurn()

LaneTurn osmscout::RouteDescription::SuggestedLaneDescription::GetTurn ( ) const
inline

Member Data Documentation

◆ Key

std::string_view osmscout::RouteDescription::SuggestedLaneDescription::Key = "SuggestedLanes"
staticconstexpr

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