Marble::RoutingWaypoint

Marble::RoutingWaypoint Class Reference

#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 26 of file RoutingWaypoint.h.

Member Enumeration Documentation

Junction types that affect instructions.

Definition at line 30 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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Sep 21 2020 23:20:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.