| 3 | namespace routing |
| 4 | { |
| 5 | void AsyncGuiThreadTestWithRoutingSession::InitRoutingSession() |
| 6 | { |
| 7 | m_session = std::make_unique<routing::RoutingSession>(); |
| 8 | m_session->Init(nullptr /* pointCheckCallback */); |
| 9 | m_session->SetRoutingSettings(routing::GetRoutingSettings(routing::VehicleType::Car)); |
| 10 | m_session->SetOnNewTurnCallback([this]() { ++m_onNewTurnCallbackCounter; }); |
| 11 | } |
| 12 | |
| 13 | void RouteSegmentsFrom(std::vector<Segment> const & segments, std::vector<m2::PointD> const & path, |
| 14 | std::vector<turns::TurnItem> const & turns, |
nothing calls this directly
no test coverage detected