libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::LaneAgent::Lane Struct Reference

#include <LaneAgent.h>

Public Member Functions

 Lane ()=default
 turn that we should take
 Lane (const Lane &)=default
 Lane (const RouteDescription::LaneDescriptionRef laneDsc, const RouteDescription::SuggestedLaneDescriptionRef suggestedLaneDsc)
 Lane (Lane &&)=default
bool operator!= (const Lane &o) const
Lane & operator= (const Lane &)=default
Lane & operator= (Lane &&)=default
 ~Lane ()=default

Public Attributes

int count {1}
 when route is oneway
bool oneway {false}
bool suggested {false}
 individual turns for lanes
int suggestedFrom {0}
 when suggested lanes and turn is valid
int suggestedTo {0}
 suggested lanes (from), inclusive
LaneTurn turn {LaneTurn::None}
 suggested lanes (to), inclusive
std::vector< LaneTurn > turns
 number of route lanes

Detailed Description

Constructor & Destructor Documentation

◆ Lane() [1/4]

osmscout::LaneAgent::Lane::Lane ( )
default

turn that we should take

References Lane().

Referenced by Lane(), Lane(), Lane(), operator=(), and operator=().

◆ Lane() [2/4]

osmscout::LaneAgent::Lane::Lane ( const RouteDescription::LaneDescriptionRef laneDsc,
const RouteDescription::SuggestedLaneDescriptionRef suggestedLaneDsc )

◆ Lane() [3/4]

osmscout::LaneAgent::Lane::Lane ( const Lane & )
default

References Lane().

◆ Lane() [4/4]

osmscout::LaneAgent::Lane::Lane ( Lane && )
default

References Lane().

◆ ~Lane()

osmscout::LaneAgent::Lane::~Lane ( )
default

Member Function Documentation

◆ operator!=()

bool osmscout::LaneAgent::Lane::operator!= ( const Lane & o) const

References count, oneway, suggested, suggestedFrom, suggestedTo, turn, and turns.

Referenced by operator=().

◆ operator=() [1/2]

Lane & osmscout::LaneAgent::Lane::operator= ( const Lane & )
default

References Lane().

◆ operator=() [2/2]

Lane & osmscout::LaneAgent::Lane::operator= ( Lane && )
default

References Lane(), and operator!=().

Member Data Documentation

◆ count

int osmscout::LaneAgent::Lane::count {1}

when route is oneway

Referenced by Lane(), and operator!=().

◆ oneway

bool osmscout::LaneAgent::Lane::oneway {false}

Referenced by Lane(), and operator!=().

◆ suggested

bool osmscout::LaneAgent::Lane::suggested {false}

individual turns for lanes

Referenced by Lane(), and operator!=().

◆ suggestedFrom

int osmscout::LaneAgent::Lane::suggestedFrom {0}

when suggested lanes and turn is valid

Referenced by Lane(), and operator!=().

◆ suggestedTo

int osmscout::LaneAgent::Lane::suggestedTo {0}

suggested lanes (from), inclusive

Referenced by Lane(), and operator!=().

◆ turn

LaneTurn osmscout::LaneAgent::Lane::turn {LaneTurn::None}

suggested lanes (to), inclusive

Referenced by Lane(), and operator!=().

◆ turns

std::vector<LaneTurn> osmscout::LaneAgent::Lane::turns

number of route lanes

Referenced by Lane(), and operator!=().


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