template class for registering new TrafficRules for a certain location and type. More...
#include <TrafficRulesFactory.h>
Public Member Functions | |
| RegisterTrafficRules (const std::string &location, const std::string &participant) | |
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.
Definition at line 53 of file TrafficRulesFactory.h.
|
inline |
Definition at line 55 of file TrafficRulesFactory.h.