Marble
6#ifndef MARBLE_ROUTINGINSTRUCTION_H
7#define MARBLE_ROUTINGINSTRUCTION_H
9#include "RoutingWaypoint.h"
10#include "RoutingPoint.h"
11#include "marble_export.h"
40 RoundaboutFirstExit = 9 ,
41 RoundaboutSecondExit = 10 ,
42 RoundaboutThirdExit = 11 ,
64 int secondsLeft()
const;
77 qreal angleToPredecssor()
const;
98 qreal distance()
const;
101 qreal distanceFromStart()
const;
104 qreal distanceToEnd()
const;
106 TurnType turnType()
const;
109 QString nextRoadInstruction()
const;
112 QString nextDistanceInstruction()
const;
115 QString totalDurationRemaining()
const;
118 QString instructionText()
const;
120 static QString generateRoadInstruction( TurnType turnType,
const QString &roadName );
123 int roundaboutExitNumber()
const;
126 void calculateAngle();
128 void calculateTurnType();
140 qreal m_angleToPredecessor;
144 int m_roundaboutExit;
157Q_DECLARE_METATYPE( Marble::RoutingInstruction::TurnType )
Stores data related to one instruction: Road name, angle to predecessor, associated waypoints etc.
Stores one line of gosmore/routino output.
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.