Template Class RegisterTrafficRules

Class Documentation

template<class T>
class RegisterTrafficRules

template class for registering new TrafficRules for a certain location and type.

To register a class, put RegisterTrafficRules<MyClass> regMyClass(<location>, <participant>); somewhere in your cpp file.

Your class is required to have a constructor that takes a TrafficRules::Configuration as argument.

Public Functions

inline RegisterTrafficRules(const std::string &location, const std::string &participant)