| 173 | |
| 174 | private: |
| 175 | struct DoReadyCallback |
| 176 | { |
| 177 | RoutingSession & m_rs; |
| 178 | ReadyCallback m_callback; |
| 179 | |
| 180 | DoReadyCallback(RoutingSession & rs, ReadyCallback const & cb) : m_rs(rs), m_callback(cb) {} |
| 181 | |
| 182 | void operator()(std::shared_ptr<Route> const & route, RouterResultCode e); |
| 183 | }; |
| 184 | |
| 185 | void AssignRoute(std::shared_ptr<Route> const & route, RouterResultCode e); |
| 186 | /// RemoveRoute() removes m_route and resets route attributes (m_lastDistance, m_moveAwayCounter). |