| 125 | {} |
| 126 | |
| 127 | void operator()(FeatureType & ft) |
| 128 | { |
| 129 | if (!m_graph.IsRoad(ft)) |
| 130 | return; |
| 131 | |
| 132 | FeatureID const & featureId = ft.GetID(); |
| 133 | |
| 134 | IRoadGraph::RoadInfo const & roadInfo = m_graph.GetCachedRoadInfo(featureId, ft, kInvalidSpeedKMPH); |
| 135 | CHECK_EQUAL(roadInfo.m_speedKMPH, kInvalidSpeedKMPH, ()); |
| 136 | |
| 137 | m_edgesLoader(featureId, roadInfo.m_junctions, roadInfo.m_bidirectional); |
| 138 | } |
| 139 | |
| 140 | private: |
| 141 | FeaturesRoadGraphBase const & m_graph; |