![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for QGeoRouteParserOsrmV5Private:
Collaboration diagram for QGeoRouteParserOsrmV5Private:Public Attributes | ||
| QVariantMap | m_vendorParams | |
| const QGeoRouteParserOsrmV5Extension * | m_extension = nullptr | |
Public Attributes inherited from QGeoRouteParserPrivate | ||
| QGeoRouteParser::TrafficSide | trafficSide = QGeoRouteParser::RightHandTraffic | |
Public Attributes inherited from QObjectPrivate | ||
| ExtraData * | extraData | |
| QAtomicPointer< QThreadData > | threadData | |
| QAtomicPointer< ConnectionData > | connections | |
| union { | ||
| QObject * currentChildBeingDeleted | ||
| QAbstractDeclarativeData * declarativeData | ||
| }; | ||
| QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount | |
Public Attributes inherited from QObjectData | ||
| QObject * | q_ptr | |
| QObject * | parent | |
| QObjectList | children | |
| uint | isWidget: 1 | |
| uint | blockSig: 1 | |
| uint | wasDeleted: 1 | |
| uint | isDeletingChildren: 1 | |
| uint | sendChildEvents: 1 | |
| uint | receiveChildEvents: 1 | |
| uint | isWindow: 1 | |
| uint | deleteLaterCalled: 1 | |
| uint | isQuickItem: 1 | |
| uint | willBeWidget: 1 | |
| uint | wasWidget: 1 | |
| uint | unused: 21 | |
| QAtomicInt | postedEvents | |
| QDynamicMetaObjectData * | metaObject | |
| QBindingStorage | bindingStorage | |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| template<typename Func1 , typename Func2 > | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| template<typename Func1 , typename Func2 > | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 774 of file qgeorouteparserosrmv5.cpp.
| QGeoRouteParserOsrmV5Private::QGeoRouteParserOsrmV5Private | ( | ) |
Definition at line 792 of file qgeorouteparserosrmv5.cpp.
|
virtual |
Definition at line 797 of file qgeorouteparserosrmv5.cpp.
References m_extension.
|
overridevirtual |
Implements QGeoRouteParserPrivate.
Definition at line 871 of file qgeorouteparserosrmv5.cpp.
References QList< T >::append(), QJsonArray::at(), QGeoShape::boundingGeoRectangle(), error, QList< T >::first(), QJsonDocument::fromJson(), QGeoRouteSegmentPrivate::get(), i, QJsonValue::isArray(), QJsonValue::isDouble(), QJsonValue::isObject(), QGeoRouteReply::NoError, QGeoRouteReply::ParseError, parseStep(), reply, QGeoRoute::setBounds(), QGeoRoute::setDistance(), QGeoRoute::setFirstRouteSegment(), QGeoRoute::setLegIndex(), QGeoRouteSegmentPrivate::setLegLastSegment(), QGeoRoute::setOverallRoute(), QGeoRoute::setPath(), QGeoRoute::setRouteLegs(), QGeoRoute::setTravelTime(), QJsonArray::size(), toDouble(), QJsonValue::toObject(), QGeoRouteReply::UnknownError, and QJsonObject::value().
Here is the call graph for this function:| QGeoRouteSegment QGeoRouteParserOsrmV5Private::parseStep | ( | const QJsonObject & | step, |
| int | legIndex, | ||
| int | stepIndex | ||
| ) | const |
Definition at line 802 of file qgeorouteparserosrmv5.cpp.
References decodePolyline(), e, QJsonObject::end(), QJsonObject::find(), QMap< Key, T >::insert(), instructionDirection(), instructionText(), m_extension, position(), QGeoManeuver::setDirection(), QGeoManeuver::setDistanceToNextInstruction(), QGeoManeuver::setExtendedAttributes(), QGeoManeuver::setInstructionText(), QGeoManeuver::setPosition(), QGeoManeuver::setTimeToNextInstruction(), QGeoManeuver::setWaypoint(), time, QJsonValue::toArray(), QJsonValue::toDouble(), QJsonValue::toObject(), QJsonValue::toString(), QJsonValue::toVariant(), QGeoRouteParserPrivate::trafficSide, QGeoRouteParserOsrmV5Extension::updateSegment(), and QJsonObject::value().
Referenced by parseReply().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements QGeoRouteParserPrivate.
Definition at line 991 of file qgeorouteparserosrmv5.cpp.
References QString::append(), QList< T >::at(), i, m_extension, QString::number(), request, QUrl::setQuery(), QList< T >::size(), QGeoRouteParserOsrmV5Extension::updateQuery(), and url.
Here is the call graph for this function:| const QGeoRouteParserOsrmV5Extension* QGeoRouteParserOsrmV5Private::m_extension = nullptr |
Definition at line 789 of file qgeorouteparserosrmv5.cpp.
Referenced by ~QGeoRouteParserOsrmV5Private(), parseStep(), and requestUrl().
| QVariantMap QGeoRouteParserOsrmV5Private::m_vendorParams |
Definition at line 788 of file qgeorouteparserosrmv5.cpp.