Marble::RoutingWaypoint

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 ( )

Constructor.

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

Member Function Documentation

◆ junctionType()

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

Parsed junction type.

Definition at line 40 of file RoutingWaypoint.cpp.

◆ junctionTypeRaw()

QString Marble::RoutingWaypoint::junctionTypeRaw ( ) const

Junction type originally passed.

Definition at line 45 of file RoutingWaypoint.cpp.

◆ point()

RoutingPoint Marble::RoutingWaypoint::point ( ) const

Associated geo point.

Definition at line 35 of file RoutingWaypoint.cpp.

◆ roadName()

QString Marble::RoutingWaypoint::roadName ( ) const

OSM name of the road.

Definition at line 60 of file RoutingWaypoint.cpp.

◆ roadType()

QString Marble::RoutingWaypoint::roadType ( ) const

OSM type of the road.

Definition at line 50 of file RoutingWaypoint.cpp.

◆ secondsRemaining()

int Marble::RoutingWaypoint::secondsRemaining ( ) const

Estimated seconds remaining until the route destination is reached.

Definition at line 55 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 Mon Nov 18 2024 12:15:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.