Marble

InstructionTransformation.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <[email protected]>
4 //
5 
6 #ifndef MARBLE_INSTRUCTIONTRANSFORMATION_H
7 #define MARBLE_INSTRUCTIONTRANSFORMATION_H
8 
9 #include "RoutingInstruction.h"
10 #include "RoutingWaypoint.h"
11 #include "marble_export.h"
12 
13 namespace Marble
14 {
15 
16 /**
17  * Transforms waypoints and metadata into driving directions
18  */
19 class MARBLE_EXPORT InstructionTransformation
20 {
21 public:
22  /** Transforms waypoints and metadata into driving directions */
23  static RoutingInstructions process( const RoutingWaypoints &waypoints );
24 
25 private:
26  // Pure static usage
27  InstructionTransformation() = delete;
28  Q_DISABLE_COPY( InstructionTransformation )
29 };
30 
31 } // namespace Marble
32 
33 #endif // MARBLE_INSTRUCTIONTRANSFORMATION_H
Binds a QML item to a specific geodetic location in screen coordinates.
Transforms waypoints and metadata into driving directions.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:53:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.