• 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
  • routing
  • instructions
RoutingWaypoint.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 2010 Dennis Nienhüser <earthwings@gentoo.org>
9 //
10 
11 #ifndef MARBLE_ROUTINGWAYPOINT_H
12 #define MARBLE_ROUTINGWAYPOINT_H
13 
14 #include "RoutingPoint.h"
15 #include "marble_export.h"
16 
17 #include <QVector>
18 
19 namespace Marble
20 {
21 
25 class MARBLE_EXPORT RoutingWaypoint
26 {
27 public:
29  enum JunctionType
30  {
31  Roundabout,
32  Other,
33  None
34  };
35 
37  RoutingWaypoint();
38 
40  RoutingWaypoint( const RoutingPoint &point, JunctionType junctionType, const QString &junctionTypeRaw,
41  const QString &roadType, int secondsRemaining, const QString &roadName );
42 
44  RoutingPoint point() const;
45 
47  JunctionType junctionType() const;
48 
50  QString junctionTypeRaw() const;
51 
53  QString roadType() const;
54 
56  int secondsRemaining() const;
57 
59  QString roadName() const;
60 
61 private:
62  RoutingPoint m_point;
63 
64  JunctionType m_junctionType;
65 
66  QString m_junctionTypeRaw;
67 
68  QString m_roadType;
69 
70  int m_secondsRemaining;
71 
72  QString m_roadName;
73 };
74 
75 typedef QVector<RoutingWaypoint> RoutingWaypoints;
76 
77 } // namespace Marble
78 
79 #endif
RoutingPoint.h
Marble::None
Definition: tools/osm-addresses/OsmParser.h:40
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
QString
QVector
marble_export.h
Marble::RoutingWaypoint::Roundabout
Definition: RoutingWaypoint.h:31
Marble::RoutingPoint
There are many Point classes, but this is mine.
Definition: RoutingPoint.h:24
Marble::RoutingWaypoint::Other
Definition: RoutingWaypoint.h:32
Marble::RoutingWaypoints
QVector< RoutingWaypoint > RoutingWaypoints
Definition: RoutingWaypoint.h:75
Marble::RoutingWaypoint
Stores one line of gosmore/routino output.
Definition: RoutingWaypoint.h:25
Marble::RoutingWaypoint::JunctionType
JunctionType
Junction types that affect instructions.
Definition: RoutingWaypoint.h:29
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