Class TrafficRuleValidator

Class Documentation

class TrafficRuleValidator

A traffic rule validator gets a part of the map and the current traffic rules and tries to detect issues there. The object ist not destroyed between subseqent calls with different traffic rules, so that information about already reported issues can be stored.

Public Functions

virtual Issues operator()(const LaneletMap &map, const std::vector<traffic_rules::TrafficRulesUPtr> &rules) = 0
virtual ~TrafficRuleValidator() = default

Public Static Functions

static inline constexpr const char *name()