Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGeoRouteSegmentPrivate Class Reference

#include <qgeoroutesegment_p.h>

+ Inheritance diagram for QGeoRouteSegmentPrivate:
+ Collaboration diagram for QGeoRouteSegmentPrivate:

Public Member Functions

 QGeoRouteSegmentPrivate ()
 
bool valid () const
 
void setValid (bool valid)
 
bool isLegLastSegment () const
 
void setLegLastSegment (bool lastSegment)
 
int travelTime () const
 
void setTravelTime (int travelTime)
 
qreal distance () const
 
void setDistance (qreal distance)
 
QList< QGeoCoordinatepath () const
 
void setPath (const QList< QGeoCoordinate > &path)
 
QGeoManeuver maneuver () const
 
void setManeuver (const QGeoManeuver &maneuver)
 
QExplicitlySharedDataPointer< QGeoRouteSegmentPrivatenextRouteSegment () const
 
void setNextRouteSegment (const QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > &next)
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Static Public Member Functions

static QGeoRouteSegmentPrivateget (QGeoRouteSegment &segment)
 

Public Attributes

QExplicitlySharedDataPointer< QGeoRouteSegmentPrivatem_nextSegment
 
bool m_valid = false
 
bool m_legLastSegment = false
 
int m_travelTime = 0
 
qreal m_distance = 0.0
 
QList< QGeoCoordinatem_path
 
QGeoManeuver m_maneuver
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Friends

bool operator== (const QGeoRouteSegmentPrivate &lhs, const QGeoRouteSegmentPrivate &rhs)
 

Detailed Description

Definition at line 31 of file qgeoroutesegment_p.h.

Constructor & Destructor Documentation

◆ QGeoRouteSegmentPrivate()

QGeoRouteSegmentPrivate::QGeoRouteSegmentPrivate ( )
default

Member Function Documentation

◆ distance()

qreal QGeoRouteSegmentPrivate::distance ( ) const

Definition at line 320 of file qgeoroutesegment.cpp.

◆ get()

QGeoRouteSegmentPrivate * QGeoRouteSegmentPrivate::get ( QGeoRouteSegment & segment)
static

Definition at line 360 of file qgeoroutesegment.cpp.

◆ isLegLastSegment()

bool QGeoRouteSegmentPrivate::isLegLastSegment ( ) const

Definition at line 300 of file qgeoroutesegment.cpp.

◆ maneuver()

QGeoManeuver QGeoRouteSegmentPrivate::maneuver ( ) const

Definition at line 340 of file qgeoroutesegment.cpp.

◆ nextRouteSegment()

QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > QGeoRouteSegmentPrivate::nextRouteSegment ( ) const

Definition at line 350 of file qgeoroutesegment.cpp.

◆ path()

QList< QGeoCoordinate > QGeoRouteSegmentPrivate::path ( ) const

Definition at line 330 of file qgeoroutesegment.cpp.

◆ setDistance()

void QGeoRouteSegmentPrivate::setDistance ( qreal distance)

Definition at line 325 of file qgeoroutesegment.cpp.

◆ setLegLastSegment()

void QGeoRouteSegmentPrivate::setLegLastSegment ( bool lastSegment)

Definition at line 305 of file qgeoroutesegment.cpp.

◆ setManeuver()

void QGeoRouteSegmentPrivate::setManeuver ( const QGeoManeuver & maneuver)

Definition at line 345 of file qgeoroutesegment.cpp.

◆ setNextRouteSegment()

void QGeoRouteSegmentPrivate::setNextRouteSegment ( const QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > & next)

Definition at line 355 of file qgeoroutesegment.cpp.

◆ setPath()

void QGeoRouteSegmentPrivate::setPath ( const QList< QGeoCoordinate > & path)

Definition at line 335 of file qgeoroutesegment.cpp.

◆ setTravelTime()

void QGeoRouteSegmentPrivate::setTravelTime ( int travelTime)

Definition at line 315 of file qgeoroutesegment.cpp.

◆ setValid()

void QGeoRouteSegmentPrivate::setValid ( bool valid)

Definition at line 295 of file qgeoroutesegment.cpp.

◆ travelTime()

int QGeoRouteSegmentPrivate::travelTime ( ) const

Definition at line 310 of file qgeoroutesegment.cpp.

◆ valid()

bool QGeoRouteSegmentPrivate::valid ( ) const

Definition at line 290 of file qgeoroutesegment.cpp.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const QGeoRouteSegmentPrivate & lhs,
const QGeoRouteSegmentPrivate & rhs )
friend

Definition at line 281 of file qgeoroutesegment.cpp.

Member Data Documentation

◆ m_distance

qreal QGeoRouteSegmentPrivate::m_distance = 0.0

Definition at line 62 of file qgeoroutesegment_p.h.

◆ m_legLastSegment

bool QGeoRouteSegmentPrivate::m_legLastSegment = false

Definition at line 60 of file qgeoroutesegment_p.h.

◆ m_maneuver

QGeoManeuver QGeoRouteSegmentPrivate::m_maneuver

Definition at line 64 of file qgeoroutesegment_p.h.

◆ m_nextSegment

QExplicitlySharedDataPointer<QGeoRouteSegmentPrivate> QGeoRouteSegmentPrivate::m_nextSegment

Definition at line 58 of file qgeoroutesegment_p.h.

◆ m_path

QList<QGeoCoordinate> QGeoRouteSegmentPrivate::m_path

Definition at line 63 of file qgeoroutesegment_p.h.

◆ m_travelTime

int QGeoRouteSegmentPrivate::m_travelTime = 0

Definition at line 61 of file qgeoroutesegment_p.h.

◆ m_valid

bool QGeoRouteSegmentPrivate::m_valid = false

Definition at line 59 of file qgeoroutesegment_p.h.


The documentation for this class was generated from the following files: