• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
RoutingRunnerManager.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2008 Henry de Valence <hdevalence@gmail.com>
9 // Copyright 2010 Dennis Nienhüser <earthwings@gentoo.org>
10 // Copyright 2010-2013 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
11 // Copyright 2011 Thibaut Gridel <tgridel@free.fr>
12 
13 #ifndef MARBLE_ROUTINGRUNNERMANAGER_H
14 #define MARBLE_ROUTINGRUNNERMANAGER_H
15 
16 #include <QObject>
17 #include <QVector>
18 
19 #include "marble_export.h"
20 
21 namespace Marble
22 {
23 
24 class GeoDataDocument;
25 class MarbleModel;
26 class RouteRequest;
27 class RoutingTask;
28 
29 class MARBLE_EXPORT RoutingRunnerManager : public QObject
30 {
31  Q_OBJECT
32 
33 public:
39  explicit RoutingRunnerManager( const MarbleModel *marbleModel, QObject *parent = 0 );
40 
41  ~RoutingRunnerManager();
42 
50  void retrieveRoute( const RouteRequest *request );
51  QVector<GeoDataDocument *> searchRoute( const RouteRequest *request, int timeout = 30000 );
52 
53 Q_SIGNALS:
57  void routeRetrieved( GeoDataDocument *route );
58 
62  void routingFinished();
63 
64 private:
65  Q_PRIVATE_SLOT( d, void addRoutingResult( GeoDataDocument *route ) )
66  Q_PRIVATE_SLOT( d, void cleanupRoutingTask( RoutingTask *task ) )
67 
68  class Private;
69  friend class Private;
70  Private *const d;
71 };
72 
73 }
74 
75 #endif
Marble::GeoDataDocument
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
Marble::RoutingRunnerManager
Definition: RoutingRunnerManager.h:29
Marble::RoutingTask
A RunnerTask that executes a route calculation.
Definition: RunnerTask.h:80
Marble::RouteRequest
Points to be included in a route.
Definition: RouteRequest.h:31
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
QVector
marble_export.h
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

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal