Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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.

References m_distance.

Referenced by QGeoRouteSegment::distance(), and setDistance().

+ Here is the caller graph for this function:

◆ get()

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

Definition at line 360 of file qgeoroutesegment.cpp.

Referenced by QGeoRouteParserOsrmV5Private::parseReply().

+ Here is the caller graph for this function:

◆ isLegLastSegment()

bool QGeoRouteSegmentPrivate::isLegLastSegment ( ) const

Definition at line 300 of file qgeoroutesegment.cpp.

References m_legLastSegment.

Referenced by QGeoRouteSegment::isLegLastSegment().

+ Here is the caller graph for this function:

◆ maneuver()

QGeoManeuver QGeoRouteSegmentPrivate::maneuver ( ) const

Definition at line 340 of file qgeoroutesegment.cpp.

References m_maneuver.

Referenced by QGeoRouteSegment::maneuver(), and setManeuver().

+ Here is the caller graph for this function:

◆ nextRouteSegment()

QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > QGeoRouteSegmentPrivate::nextRouteSegment ( ) const

Definition at line 350 of file qgeoroutesegment.cpp.

References m_nextSegment.

Referenced by QGeoRouteSegment::isLegLastSegment(), and QGeoRouteSegment::nextRouteSegment().

+ Here is the caller graph for this function:

◆ path()

QList< QGeoCoordinate > QGeoRouteSegmentPrivate::path ( ) const

Definition at line 330 of file qgeoroutesegment.cpp.

References m_path.

Referenced by QGeoRouteSegment::path(), and setPath().

+ Here is the caller graph for this function:

◆ setDistance()

void QGeoRouteSegmentPrivate::setDistance ( qreal distance)

Definition at line 325 of file qgeoroutesegment.cpp.

References distance(), and m_distance.

Referenced by QGeoRouteSegment::setDistance().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setLegLastSegment()

void QGeoRouteSegmentPrivate::setLegLastSegment ( bool lastSegment)

Definition at line 305 of file qgeoroutesegment.cpp.

References m_legLastSegment.

◆ setManeuver()

void QGeoRouteSegmentPrivate::setManeuver ( const QGeoManeuver & maneuver)

Definition at line 345 of file qgeoroutesegment.cpp.

References m_maneuver, and maneuver().

Referenced by QGeoRouteSegment::setManeuver().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setNextRouteSegment()

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

Definition at line 355 of file qgeoroutesegment.cpp.

References m_nextSegment, and next.

Referenced by QGeoRouteSegment::setNextRouteSegment().

+ Here is the caller graph for this function:

◆ setPath()

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

Definition at line 335 of file qgeoroutesegment.cpp.

References m_path, and path().

Referenced by QGeoRouteSegment::setPath().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTravelTime()

void QGeoRouteSegmentPrivate::setTravelTime ( int travelTime)

Definition at line 315 of file qgeoroutesegment.cpp.

References m_travelTime, and travelTime().

Referenced by QGeoRouteSegment::setTravelTime().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setValid()

void QGeoRouteSegmentPrivate::setValid ( bool valid)

Definition at line 295 of file qgeoroutesegment.cpp.

References m_valid, and valid().

Referenced by QGeoRouteSegment::setDistance(), QGeoRouteSegment::setManeuver(), QGeoRouteSegment::setNextRouteSegment(), QGeoRouteSegment::setPath(), and QGeoRouteSegment::setTravelTime().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ travelTime()

int QGeoRouteSegmentPrivate::travelTime ( ) const

Definition at line 310 of file qgeoroutesegment.cpp.

References m_travelTime.

Referenced by setTravelTime(), and QGeoRouteSegment::travelTime().

+ Here is the caller graph for this function:

◆ valid()

bool QGeoRouteSegmentPrivate::valid ( ) const

Definition at line 290 of file qgeoroutesegment.cpp.

References m_valid.

Referenced by QGeoRouteSegment::isLegLastSegment(), QGeoRouteSegment::isValid(), QGeoRouteSegment::nextRouteSegment(), and setValid().

+ Here is the caller graph for this function:

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.

Referenced by distance(), and setDistance().

◆ m_legLastSegment

bool QGeoRouteSegmentPrivate::m_legLastSegment = false

Definition at line 60 of file qgeoroutesegment_p.h.

Referenced by isLegLastSegment(), and setLegLastSegment().

◆ m_maneuver

QGeoManeuver QGeoRouteSegmentPrivate::m_maneuver

Definition at line 64 of file qgeoroutesegment_p.h.

Referenced by maneuver(), and setManeuver().

◆ m_nextSegment

QExplicitlySharedDataPointer<QGeoRouteSegmentPrivate> QGeoRouteSegmentPrivate::m_nextSegment

Definition at line 58 of file qgeoroutesegment_p.h.

Referenced by nextRouteSegment(), and setNextRouteSegment().

◆ m_path

QList<QGeoCoordinate> QGeoRouteSegmentPrivate::m_path

Definition at line 63 of file qgeoroutesegment_p.h.

Referenced by path(), and setPath().

◆ m_travelTime

int QGeoRouteSegmentPrivate::m_travelTime = 0

Definition at line 61 of file qgeoroutesegment_p.h.

Referenced by setTravelTime(), and travelTime().

◆ m_valid

bool QGeoRouteSegmentPrivate::m_valid = false

Definition at line 59 of file qgeoroutesegment_p.h.

Referenced by setValid(), and valid().


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