marble
#include <RoutingRunner.h>
Signals | |
void | routeCalculated (GeoDataDocument *route) |
Public Member Functions | |
RoutingRunner (QObject *parent) | |
virtual void | retrieveRoute (const RouteRequest *request)=0 |
void | setModel (const MarbleModel *model) |
Protected Member Functions | |
const MarbleModel * | model () const |
Detailed Description
Definition at line 27 of file RoutingRunner.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 19 of file RoutingRunner.cpp.
Member Function Documentation
|
protected |
Access to the currently used model, or null if no was set with.
- See also
- setModel
Definition at line 30 of file RoutingRunner.cpp.
|
pure virtual |
Start a route download orw calculation.
Called by MarbleRunnerManager, runners are expected to return the result via the routeCalculated signal. If implemented in a plugin, make sure to include Routing in the plugin capabilities, otherwise MarbleRunnerManager will ignore the plugin
Implemented in Marble::OpenRouteServiceRunner, Marble::OSRMRunner, Marble::YoursRunner, Marble::MapQuestRunner, Marble::GosmoreRunner, Marble::MonavRunner, and Marble::RoutinoRunner.
|
signal |
Route download/calculation is finished, result in the given route object.
To be emitted by runners after a
- See also
- retrieveRoute call.
void Marble::RoutingRunner::setModel | ( | const MarbleModel * | model | ) |
Stores a pointer to the currently used model.
Definition at line 25 of file RoutingRunner.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.