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

Method EnableFollowMode

libs/routing/routing_session.cpp:687–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685}
686
687bool RoutingSession::EnableFollowMode()
688{
689 CHECK_THREAD_CHECKER(m_threadChecker, ());
690 LOG(LINFO, ("Routing enables a following mode. SessionState: ", m_state));
691 if (m_state == SessionState::RouteNotStarted || m_state == SessionState::OnRoute)
692 {
693 SetState(SessionState::OnRoute);
694 m_isFollowing = true;
695 }
696 return m_isFollowing;
697}
698
699void RoutingSession::SetRoutingSettings(RoutingSettings const & routingSettings)
700{

Callers 2

FollowRouteMethod · 0.80
UNIT_CLASS_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

UNIT_CLASS_TESTFunction · 0.64