#include <GermanTrafficRules.h>

Public Member Functions | |
| bool | canPass (const ConstArea &) const override |
| returns whether it is allowed to pass/drive on this area More... | |
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 &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 Configuration & | configuration () 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 () |
Protected Member Functions | |
| Optional< bool > | canPass (const RegulatoryElementConstPtrs &) const override |
| const CountrySpeedLimits & | countrySpeedLimits () const override |
| Overloads should return a descripton of their countrie's speed limit definition. More... | |
| Optional< SpeedLimitInformation > | speedLimit (const RegulatoryElementConstPtrs ®elems) 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 > |
Definition at line 11 of file GermanTrafficRules.h.
|
inlineoverridevirtual |
returns whether it is allowed to pass/drive on this area
Reimplemented from lanelet::traffic_rules::GenericTrafficRules.
Definition at line 16 of file GermanTrafficRules.h.
|
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 19 of file GermanTrafficRules.h.
|
inlineoverrideprotectedvirtual |
Overloads should return a descripton of their countrie's speed limit definition.
Implements lanelet::traffic_rules::GenericTrafficRules.
Definition at line 20 of file GermanTrafficRules.h.
|
overrideprotectedvirtual |
Returns speed limit as defined by regiualtory elements if present.
Implements lanelet::traffic_rules::GenericTrafficRules.
Definition at line 42 of file GermanTrafficRules.cpp.
|
private |
Definition at line 24 of file GermanTrafficRules.h.