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

Method OnTrafficInfoRemoved

libs/routing/routing_session.cpp:907–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905}
906
907void RoutingSession::OnTrafficInfoRemoved(MwmSet::MwmId const & mwmId)
908{
909 GetPlatform().RunTask(Platform::Thread::Gui, [this, mwmId]()
910 {
911 CHECK_THREAD_CHECKER(m_threadChecker, ());
912 Remove(mwmId);
913 RebuildRouteOnTrafficUpdate();
914 });
915}
916
917void RoutingSession::CopyTraffic(traffic::AllMwmTrafficInfo & trafficColoring) const
918{

Callers 1

ClearCacheMethod · 0.80

Calls 1

RunTaskMethod · 0.80

Tested by

no test coverage detected