[routing][traffic] Different routing options in navigation and decoder mode

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-10-18 16:34:32 +03:00
parent 38dbad0f7e
commit a3d1ed83c3
4 changed files with 26 additions and 1 deletions

View File

@@ -175,6 +175,14 @@ protected:
*/
virtual Mode GetMode() { return Mode::Navigation; }
/**
* @brief Returns current routing options.
*
* In this class, the routing options are the one set in the GUI. Subclasses may override this
* method to provide different routing options.
*/
virtual RoutingOptions GetRoutingOptions();
private:
RouterResultCode CalculateSubrouteJointsMode(IndexGraphStarter & starter, RouterDelegate const & delegate,
std::shared_ptr<AStarProgress> const & progress,