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

Method Reset

libs/routing/speed_camera_manager.cpp:142–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void SpeedCameraManager::Reset()
143{
144 CHECK_THREAD_CHECKER(m_threadChecker, ());
145
146 ResetNotifications();
147
148 m_speedCamClearCallback();
149
150 m_closestCamera.Invalidate();
151
152 m_firstNotCheckedSpeedCameraIndex = 1;
153 m_cachedSpeedCameras = std::queue<SpeedCameraOnRoute>();
154}
155
156bool SpeedCameraManager::IsSpeedLimitExceeded() const
157{

Callers

nothing calls this directly

Calls 1

InvalidateMethod · 0.45

Tested by

no test coverage detected