Protected Member Functions | Private Attributes | List of all members
lanelet::traffic_rules::GermanBicycle Class Reference

#include <GermanTrafficRules.h>

Inheritance diagram for lanelet::traffic_rules::GermanBicycle:
Inheritance graph
[legend]

Protected Member Functions

Optional< bool > canPass (const RegulatoryElementConstPtrs &) const override
 
const CountrySpeedLimitscountrySpeedLimits () const override
 Overloads should return a descripton of their countrie's speed limit definition. More...
 
Optional< SpeedLimitInformationspeedLimit (const RegulatoryElementConstPtrs &) const override
 Returns speed limit as defined by regiualtory elements if present. More...
 
- Protected Member Functions inherited from lanelet::traffic_rules::GenericTrafficRules
virtual Optional< bool > canPass (const std::string &type, const std::string &) const
 Called by canPass to check if a certain lanelet type is drivable for this participant. More...
 
virtual LaneChangeType laneChangeType (const ConstLineString3d &boundary, bool virtualIsPassable) const
 checks which types of lange changes are allowed along this boundary to make a lane switch from one lanelet to another. More...
 

Private Attributes

CountrySpeedLimits speedLimits_ {germanSpeedLimits()}
 

Additional Inherited Members

- Public Types inherited from lanelet::traffic_rules::TrafficRules
using Configuration = std::map< std::string, Attribute >
 
- Public Member Functions inherited from lanelet::traffic_rules::GenericTrafficRules
bool canChangeLane (const ConstLanelet &from, const ConstLanelet &to) const override
 determines if a lane change can be made between two lanelets More...
 
bool canPass (const ConstArea &area) const override
 returns whether it is allowed to pass/drive on this area More...
 
bool canPass (const ConstArea &from, const ConstArea &to) const override
 
bool canPass (const ConstArea &from, const ConstLanelet &to) const override
 
bool canPass (const ConstLanelet &from, const ConstArea &to) const override
 
bool canPass (const ConstLanelet &from, const ConstLanelet &to) const override
 returns whether it is allowed to pass/drive from a lanelet to another lanelet. More...
 
bool canPass (const ConstLanelet &lanelet) const override
 returns whether it is allowed to pass/drive on this lanelet More...
 
bool hasDynamicRules (const ConstLanelet &lanelet) const override
 returns whether dynamic traffic rules apply to this lanelet. More...
 
bool isOneWay (const ConstLanelet &lanelet) const override
 returns whether a lanelet can be driven in one direction only More...
 
SpeedLimitInformation speedLimit (const ConstArea &area) const override
 returns speed limit on this area. More...
 
SpeedLimitInformation speedLimit (const ConstLanelet &lanelet) const override
 returns speed limit on this lanelet. More...
 
 TrafficRules (Configuration config=Configuration())
 Constructor. More...
 
- Public Member Functions inherited from lanelet::traffic_rules::TrafficRules
const Configurationconfiguration () const
 configuration for this traffic rules object More...
 
const std::string & location () const
 the the location the rules are valid for More...
 
const std::string & participant () const
 the traffic participant the rules are valid for (e.g. vehicle, car, pedestrian, etc) More...
 
 TrafficRules (Configuration config=Configuration())
 Constructor. More...
 
virtual ~TrafficRules ()
 

Detailed Description

Definition at line 42 of file GermanTrafficRules.h.

Member Function Documentation

◆ canPass()

Optional<bool> lanelet::traffic_rules::GermanBicycle::canPass ( const RegulatoryElementConstPtrs regElems) const
inlineoverrideprotectedvirtual

Called by canPass to check if traffic rules make a certain primitive drivable/not drivable If the optional is empty, there is no traffic rule that determines this.

Implements lanelet::traffic_rules::GenericTrafficRules.

Definition at line 47 of file GermanTrafficRules.h.

◆ countrySpeedLimits()

const CountrySpeedLimits& lanelet::traffic_rules::GermanBicycle::countrySpeedLimits ( ) const
inlineoverrideprotectedvirtual

Overloads should return a descripton of their countrie's speed limit definition.

Implements lanelet::traffic_rules::GenericTrafficRules.

Definition at line 48 of file GermanTrafficRules.h.

◆ speedLimit()

Optional<SpeedLimitInformation> lanelet::traffic_rules::GermanBicycle::speedLimit ( const RegulatoryElementConstPtrs regelems) const
inlineoverrideprotectedvirtual

Returns speed limit as defined by regiualtory elements if present.

Implements lanelet::traffic_rules::GenericTrafficRules.

Definition at line 49 of file GermanTrafficRules.h.

Member Data Documentation

◆ speedLimits_

CountrySpeedLimits lanelet::traffic_rules::GermanBicycle::speedLimits_ {germanSpeedLimits()}
private

Definition at line 54 of file GermanTrafficRules.h.


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


lanelet2_traffic_rules
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:07