#pragma once #include "routing/bicycle_model.hpp" #include "routing/car_model.hpp" #include "routing/directions_engine.hpp" #include "routing/pedestrian_model.hpp" #include "routing/road_graph.hpp" #include "routing/route.hpp" #include "traffic/traffic_info.hpp" #include "base/cancellable.hpp" #include "std/shared_ptr.hpp" #include "std/vector.hpp" namespace routing { /// \returns true when there exists a routing mode where the feature with |types| can be used. template bool IsRoad(TTypes const & types) { return CarModel::AllLimitsInstance().HasRoadType(types) || PedestrianModel::AllLimitsInstance().HasRoadType(types) || BicycleModel::AllLimitsInstance().HasRoadType(types); } void ReconstructRoute(IDirectionsEngine * engine, IRoadGraph const & graph, shared_ptr const & trafficColoring, my::Cancellable const & cancellable, vector & path, Route & route); } // namespace rouing