marble
RoutinoRunner.cpp
Go to the documentation of this file.
43 static GeoDataDocument* createDocument( GeoDataLineString* routeWaypoints, const QVector<GeoDataPlacemark*> instructions );
102 mDebug() << "Couldn't start routino-router from the current PATH. Install it to retrieve routing results from routino.";
149 QVector<GeoDataPlacemark*> RoutinoRunnerPrivate::parseRoutinoInstructions( const QByteArray &content ) const
156 RoutingInstructions directions = InstructionTransformation::process( m_parser.parse( stream ) );
184 GeoDataDocument* RoutinoRunnerPrivate::createDocument( GeoDataLineString* routeWaypoints, const QVector<GeoDataPlacemark*> instructions )
QString & append(QChar ch)
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
void append(const T &value)
RoutinoRunner(QObject *parent=0)
Definition: RoutinoRunner.cpp:213
bool remove()
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
This file contains the headers for MarbleModel.
virtual void retrieveRoute(const RouteRequest *request)
Start a route download orw calculation.
Definition: RoutinoRunner.cpp:226
const T & at(int i) const
QVector< RoutingInstruction > RoutingInstructions
Definition: RoutingInstruction.h:157
qreal latitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition: GeoDataCoordinates.cpp:751
int size() const
RoutingProfile routingProfile() const
Definition: RouteRequest.cpp:321
This file contains the headers for MarbleMap.
int count(const T &value) const
QString fromUtf8(const char *str, int size)
static RoutingInstructions process(const RoutingWaypoints &waypoints)
Transforms waypoints and metadata into driving directions.
Definition: InstructionTransformation.cpp:18
void setAutoRemove(bool b)
QString absoluteFilePath() const
QByteArray readAll()
QDir dir() const
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
bool exists() const
qreal longitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition: GeoDataCoordinates.cpp:739
bool waitForStarted(int msecs)
void setWorkingDirectory(const QString &dir)
virtual void close()
QString fileName() const
const QHash< QString, QHash< QString, QVariant > > & pluginSettings() const
Definition: RoutingProfile.cpp:33
void routeCalculated(GeoDataDocument *route)
Route download/calculation is finished, result in the given route object.
Definition: RoutingRunner.h:28
bool mkdir(const QString &dirName) const
QString workingDirectory() const
QString left(int n) const
void push_back(const T &value)
int size() const
bool open()
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
void start(const QString &program, const QStringList &arguments, QFlags< QIODevice::OpenModeFlag > mode)
bool waitForFinished(int msecs)
GeoDataCoordinates at(int index) const
Accessor for the n-th position.
Definition: RouteRequest.cpp:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.