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

Method OnReady

libs/routing/async_router.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void AsyncRouter::RouterDelegateProxy::OnReady(std::shared_ptr<Route> route, RouterResultCode resultCode)
40{
41 if (!m_onReadyOwnership)
42 return;
43 {
44 lock_guard l(m_guard);
45 if (m_delegate.IsCancelled())
46 return;
47 }
48 m_onReadyOwnership(std::move(route), resultCode);
49}
50
51void AsyncRouter::RouterDelegateProxy::OnNeedMoreMaps(uint64_t routeId, std::set<std::string> const & absentCounties)
52{

Callers 1

CalculateRouteMethod · 0.80

Calls 1

IsCancelledMethod · 0.45

Tested by

no test coverage detected