Search for usage in LXR

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

Member Enumeration Documentation

◆ JunctionType

Junction types that affect instructions.

Definition at line 25 of file RoutingWaypoint.h.

Constructor & Destructor Documentation

◆ RoutingWaypoint() [1/2]

Marble::RoutingWaypoint::RoutingWaypoint ( )


Definition at line 13 of file RoutingWaypoint.cpp.

◆ RoutingWaypoint() [2/2]

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 18 of file RoutingWaypoint.cpp.

Member Function Documentation

◆ junctionType()

RoutingWaypoint::JunctionType Marble::RoutingWaypoint::junctionType ( ) const

Parsed junction type.

Definition at line 33 of file RoutingWaypoint.cpp.

◆ junctionTypeRaw()

QString Marble::RoutingWaypoint::junctionTypeRaw ( ) const

Junction type originally passed.

Definition at line 38 of file RoutingWaypoint.cpp.

◆ point()

RoutingPoint Marble::RoutingWaypoint::point ( ) const

Associated geo point.

Definition at line 28 of file RoutingWaypoint.cpp.

◆ roadName()

QString Marble::RoutingWaypoint::roadName ( ) const

OSM name of the road.

Definition at line 53 of file RoutingWaypoint.cpp.

◆ roadType()

QString Marble::RoutingWaypoint::roadType ( ) const

OSM type of the road.

Definition at line 43 of file RoutingWaypoint.cpp.

◆ secondsRemaining()

int Marble::RoutingWaypoint::secondsRemaining ( ) const

Estimated seconds remaining until the route destination is reached.

Definition at line 48 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-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:54:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.