| 59 | { |
| 60 | public: |
| 61 | VehicleMaskBuilder(string const & country, CountryParentNameGetterFn const & countryParentNameGetterFn) |
| 62 | : m_pedestrianModel(PedestrianModelFactory(countryParentNameGetterFn).GetVehicleModelForCountry(country)) |
| 63 | , m_bicycleModel(BicycleModelFactory(countryParentNameGetterFn).GetVehicleModelForCountry(country)) |
| 64 | , m_carModel(CarModelFactory(countryParentNameGetterFn).GetVehicleModelForCountry(country)) |
| 65 | , m_constructionType(classif().GetTypeByPath({"highway", "construction"})) |
| 66 | { |
| 67 | CHECK(m_pedestrianModel, ()); |
| 68 | CHECK(m_bicycleModel, ()); |
| 69 | CHECK(m_carModel, ()); |
| 70 | } |
| 71 | |
| 72 | VehicleMask CalcRoadMask(FeatureType & f) const |
| 73 | { |
nothing calls this directly
no test coverage detected