MCPcopy Create free account
hub / github.com/comaps/comaps / SetRouter

Method SetRouter

libs/map/routing_manager.cpp:1423–1435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1421}
1422
1423void RoutingManager::SetRouter(RouterType type)
1424{
1425 CHECK_THREAD_CHECKER(m_threadChecker, ("SetRouter"));
1426
1427 if (m_currentRouterType == type)
1428 return;
1429
1430 // Hide preview.
1431 HidePreviewSegments();
1432
1433 SetLastUsedRouter(type);
1434 SetRouterImpl(type);
1435}
1436
1437// static
1438uint32_t RoutingManager::InvalidRoutePointsTransactionId()

Callers 3

LoadSessionMethod · 0.45
ShowModalMethod · 0.45
SetRouterImplMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected