blob: 45c3236b08afba5d0cd7178e11d14fe6fe8f2914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include "routing/directions_engine.hpp"
namespace routing
{
class PedestrianDirectionsEngine : public IDirectionsEngine
{
public:
PedestrianDirectionsEngine();
// IDirectionsEngine override:
void Generate(IRoadGraph const & graph, vector<Junction> const & path,
Route::TTimes & times,
Route::TTurns & turnsDir,
vector<m2::PointD> & routeGeometry,
my::Cancellable const & cancellable) override;
private:
void CalculateTurns(IRoadGraph const & graph, vector<Edge> const & routeEdges,
Route::TTurns & turnsDir,
my::Cancellable const & cancellable) const;
uint32_t const m_typeSteps;
uint32_t const m_typeLiftGate;
uint32_t const m_typeGate;
};
} // namespace routing
|