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 /indexer/ftypes_matcher.cpp
parent240003bab266d2e4a49d55f06b876dee45020cef (diff)
Speedcam routing time computation engine.
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r--indexer/ftypes_matcher.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp
index b52cb4fb0d..6527dc8347 100644
--- a/indexer/ftypes_matcher.cpp
+++ b/indexer/ftypes_matcher.cpp
@@ -70,6 +70,18 @@ IsATMChecker const & IsATMChecker::Instance()
return inst;
}
+IsSpeedCamChecker::IsSpeedCamChecker()
+{
+ Classificator const & c = classif();
+ m_types.push_back(c.GetTypeByPath({ "highway", "speed_camera"}));
+}
+
+IsSpeedCamChecker const & IsSpeedCamChecker::Instance()
+{
+ static const IsSpeedCamChecker inst;
+ return inst;
+}
+
IsFuelStationChecker::IsFuelStationChecker()
{
Classificator const & c = classif();