marble
#include <RoutingWaypoint.h>
Public Types | |
enum | JunctionType { Roundabout, Other, None } |
Public Member Functions | |
RoutingWaypoint () | |
RoutingWaypoint (const RoutingPoint &point, JunctionType junctionType, const QString &junctionTypeRaw, const QString &roadType, int secondsRemaining, const QString &roadName) | |
JunctionType | junctionType () const |
QString | junctionTypeRaw () const |
RoutingPoint | point () const |
QString | roadName () const |
QString | roadType () const |
int | secondsRemaining () const |
Detailed Description
Stores one line of gosmore/routino output.
Definition at line 25 of file RoutingWaypoint.h.
Member Enumeration Documentation
Junction types that affect instructions.
Enumerator | |
---|---|
Roundabout | |
Other | |
None |
Definition at line 29 of file RoutingWaypoint.h.
Constructor & Destructor Documentation
Marble::RoutingWaypoint::RoutingWaypoint | ( | ) |
Constructor.
Definition at line 18 of file RoutingWaypoint.cpp.
Marble::RoutingWaypoint::RoutingWaypoint | ( | const RoutingPoint & | point, |
JunctionType | junctionType, | ||
const QString & | junctionTypeRaw, | ||
const QString & | roadType, | ||
int | secondsRemaining, | ||
const QString & | roadName | ||
) |
Convenience constructor to initialize members.
Definition at line 23 of file RoutingWaypoint.cpp.
Member Function Documentation
RoutingWaypoint::JunctionType Marble::RoutingWaypoint::junctionType | ( | ) | const |
Parsed junction type.
Definition at line 38 of file RoutingWaypoint.cpp.
QString Marble::RoutingWaypoint::junctionTypeRaw | ( | ) | const |
Junction type originally passed.
Definition at line 43 of file RoutingWaypoint.cpp.
RoutingPoint Marble::RoutingWaypoint::point | ( | ) | const |
Associated geo point.
Definition at line 33 of file RoutingWaypoint.cpp.
QString Marble::RoutingWaypoint::roadName | ( | ) | const |
OSM name of the road.
Definition at line 58 of file RoutingWaypoint.cpp.
QString Marble::RoutingWaypoint::roadType | ( | ) | const |
OSM type of the road.
Definition at line 48 of file RoutingWaypoint.cpp.
int Marble::RoutingWaypoint::secondsRemaining | ( | ) | const |
Estimated seconds remaining until the route destination is reached.
Definition at line 53 of file RoutingWaypoint.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.