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
qohosgeosatelliteinfosource.cpp File Reference

(511b67fd45b14ea17c21ed8daa2894a412d68f7a)

#include "qohosgeopositioninfosource.h"
#include "qohosgeosatelliteinfosource.h"
#include "qohospositioncommon.h"
#include "qohosjsutils.h"
#include <QtCore/private/qcore_ohos_p.h>
#include <QtCore/private/qnapi_p.h>
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/private/qohoslogger_p.h>
#include <QtCore/qset.h>
#include <QtCore/qmath.h>
#include <QtPositioning/qgeosatelliteinfo.h>
#include <algorithm>
#include <chrono>
#include <memory>
#include <optional>
#include <utility>
#include <vector>
Include dependency graph for qohosgeosatelliteinfosource.cpp:

Go to the source code of this file.

Classes

struct  QT_BEGIN_NAMESPACE::SatelliteInfo
class  QT_BEGIN_NAMESPACE::QOhosGeoSatelliteInfoSource
struct  QtOhos::OhosEnumMeta< SatelliteConstellationCategory >

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.
namespace  QtOhos

Enumerations

enum class  QT_BEGIN_NAMESPACE::SatelliteConstellationCategory {
  QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_UNKNOWN , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GPS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_SBAS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GLONASS ,
  QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_QZSS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_BEIDOU , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GALILEO , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_IRNSS ,
  QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_UNKNOWN , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GPS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_SBAS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GLONASS ,
  QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_QZSS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_BEIDOU , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GALILEO , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_IRNSS
}
enum class  QT_BEGIN_NAMESPACE::SatelliteConstellationCategory {
  QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_UNKNOWN , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GPS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_SBAS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GLONASS ,
  QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_QZSS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_BEIDOU , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GALILEO , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_IRNSS ,
  QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_UNKNOWN , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GPS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_SBAS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GLONASS ,
  QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_QZSS , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_BEIDOU , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_GALILEO , QT_BEGIN_NAMESPACE::CONSTELLATION_CATEGORY_IRNSS
}

Functions

std::optional< std::vector< SatelliteConstellationCategory > > QT_BEGIN_NAMESPACE::tryGetSatelliteConstelationCategoriesFromSatelliteStatusInfoObject (QOhosJsState &jsState, QNapi::Object satelliteStatusInfoObject)
std::optional< std::vector< int > > QT_BEGIN_NAMESPACE::tryGetSatelliteAdditionalInfosFromSatelliteStatusInfoObject (QOhosJsState &, QNapi::Object satelliteStatusInfoObject)
bool QT_BEGIN_NAMESPACE::isSatelliteUsedInFix (QOhosJsState &jsState, int satelliteAdditionalInfo)
std::vector< SatelliteInfoQT_BEGIN_NAMESPACE::convertJsSatelliteStatusInfoObjectToQGeoSatelliteInfos (QOhosJsState &jsState, QNapi::Object satelliteStatusInfoObject)
QGeoSatelliteInfo::SatelliteSystem QT_BEGIN_NAMESPACE::convertSatelliteConstellationCategoryToQt (SatelliteConstellationCategory constellationCategory)
std::shared_ptr< voidQT_BEGIN_NAMESPACE::registerSatelliteStatusInfoProducerConsumer (QObject *contextObject, QOhosConsumer< std::vector< SatelliteInfo > > satelliteStatusInfoConsumer)
QGeoSatelliteInfoSourcemakeQOhosGeoSatelliteInfoSource (QObject *parent)

Variables

constexpr int QT_BEGIN_NAMESPACE::updateAsOftenAsNecessaryInterval = 0

Function Documentation

◆ makeQOhosGeoSatelliteInfoSource()

QGeoSatelliteInfoSource * makeQOhosGeoSatelliteInfoSource ( QObject * parent)

Definition at line 403 of file qohosgeosatelliteinfosource.cpp.