This repository has been archived on 2025-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
organicmaps-tmp/routing_common/car_model.hpp
Viktor Govako 50994bbe0f [generator][routing] Ignore "highway=construction".
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-02-06 21:16:48 -03:00

28 lines
702 B
C++

#pragma once
#include "routing_common/vehicle_model.hpp"
namespace routing
{
class CarModel : public VehicleModel
{
public:
CarModel();
explicit CarModel(LimitsInitList const & roadLimits);
/// VehicleModelInterface overrides:
SpeedKMpH GetSpeed(FeatureTypes const & types, SpeedParams const & speedParams) const override;
SpeedKMpH const & GetOffroadSpeed() const override;
static CarModel const & AllLimitsInstance();
static LimitsInitList const & GetOptions();
static SurfaceInitList const & GetSurfaces();
};
class CarModelFactory : public VehicleModelFactory
{
public:
CarModelFactory(CountryParentNameGetterFn const & countryParentNameGetterF);
};
} // namespace routing