#include <libosmscout-client-qt/include/osmscout/Router.h>
◆ Router()
◆ ~Router()
| virtual osmscout::Router::~Router |
( |
| ) |
|
|
virtual |
◆ Initialize
| void osmscout::Router::Initialize |
( |
| ) |
|
|
slot |
◆ onRouteRequest
Start Route computation. Router emits routeComputed or routeFailed later.
User of this function should use Qt::QueuedConnection for invoking this slot, search may generate IO load and may tooks long time.
Route computation can be long depending on the complexity of the route (the further away the endpoints, the more difficult the routing).
- Parameters
-
| start | - starting position for route computation |
| target | - end position for route computation |
| vehicle | - used vehicle for route |
| requestId | - id used later in routeComputed/routeFailed signals |
| breaker | - breaker that may be used for cancel routing computation |
◆ routeCanceled
| void osmscout::Router::routeCanceled |
( |
int |
requestId | ) |
|
|
signal |
◆ routeComputed
| void osmscout::Router::routeComputed |
( |
QtRouteData |
route, |
|
|
int |
requestId |
|
) |
| |
|
signal |
◆ routeFailed
| void osmscout::Router::routeFailed |
( |
QString |
reason, |
|
|
int |
requestId |
|
) |
| |
|
signal |
◆ routingProgress
| void osmscout::Router::routingProgress |
( |
int |
percent, |
|
|
int |
requestId |
|
) |
| |
|
signal |
The documentation for this class was generated from the following file:
- libosmscout-client-qt/include/osmscout/Router.h