Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-09-15 14:27:03 +0300
committerLev Dragunov <l.dragunov@corp.mail.ru>2015-10-07 12:57:52 +0300
commitb7c23e7c46433befe482ce9eb06210db66215d0a (patch)
tree99ad882a333be6ea16cd5c05824a76251031d4e6 /routing/routing_session.hpp
parent240003bab266d2e4a49d55f06b876dee45020cef (diff)
Speedcam routing time computation engine.
Diffstat (limited to 'routing/routing_session.hpp')
-rw-r--r--routing/routing_session.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/routing/routing_session.hpp b/routing/routing_session.hpp
index e251291289..f6880f944b 100644
--- a/routing/routing_session.hpp
+++ b/routing/routing_session.hpp
@@ -78,7 +78,7 @@ public:
void Reset();
State OnLocationPositionChanged(m2::PointD const & position, location::GpsInfo const & info);
- void GetRouteFollowingInfo(location::FollowingInfo & info) const;
+ void GetRouteFollowingInfo(location::FollowingInfo & info, Index const & index) const;
void MatchLocationToRoute(location::GpsInfo & location,
location::RouteMatchingInfo & routeMatchingInfo) const;
@@ -124,6 +124,8 @@ private:
Route m_route;
State m_state;
m2::PointD m_endPoint;
+ double m_speedMpS;
+ mutable size_t m_lastWarnedSpeedCamera;
mutable threads::Mutex m_routeSessionMutex;