4#ifndef QNMESATELLITEINFOSOURCE_P_H
5#define QNMESATELLITEINFOSOURCE_P_H
19#include <QtPositioning/qgeosatelliteinfo.h>
25#include <QtCore/qiodevice.h>
26#include <QtCore/qtimer.h>
27#include <QtCore/private/qglobal_p.h>
31#define USE_SATELLITE_NMEA_PIMPL 1
58 const QList<QGeoSatelliteInfo> &inView);
59 bool setSatellitesInUse(QGeoSatelliteInfo::SatelliteSystem system,
const QList<
int> &inUse);
140 QScopedPointer<QTimer> m_timer;
141 int m_updateInterval;
bool emitUpdated(QNmeaSatelliteInfoUpdate &update, bool fromRequestUpdate)
bool m_noUpdateLastInterval
QScopedPointer< QNmeaSatelliteReader > m_nmeaReader
void prepareSourceDevice()
QNmeaSatelliteInfoUpdate m_lastUpdate
QNmeaSatelliteInfoUpdate m_pendingUpdate
~QNmeaSatelliteInfoSourcePrivate()
bool m_connectedReadyRead
QNmeaSatelliteInfoSource * m_source
void processNmeaData(QNmeaSatelliteInfoUpdate &updateInfo)
void requestUpdate(int msec)
QBasicTimer * m_updateTimer
void timerEvent(QTimerEvent *event) override
This event handler can be reimplemented in a subclass to receive timer events for the object.
void updateRequestTimeout()
int m_simulationUpdateInterval
QPointer< QIODevice > m_device
QGeoSatelliteInfoSource::Error m_satelliteError
virtual void readAvailableData()=0
QNmeaSatelliteInfoSourcePrivate * m_proxy
QNmeaSatelliteReader(QNmeaSatelliteInfoSourcePrivate *sourcePrivate)
virtual ~QNmeaSatelliteReader()
QNmeaSatelliteRealTimeReader(QNmeaSatelliteInfoSourcePrivate *sourcePrivate)
void readAvailableData() override
void setUpdateInterval(int msec)
int updateInterval() const
void readAvailableData() override
QNmeaSatelliteSimulationReader(QNmeaSatelliteInfoSourcePrivate *sourcePrivate)
Combined button and popup list for selecting options.
#define USE_SATELLITE_NMEA_PIMPL
QMap< QGeoSatelliteInfo::SatelliteSystem, SatelliteInfo > m_satellites
bool setSatellitesInUse(QGeoSatelliteInfo::SatelliteSystem system, const QList< int > &inUse)
QList< QGeoSatelliteInfo > allSatellitesInView() const
bool calculateValidInView() const
bool calculateValidInUse() const
QList< QGeoSatelliteInfo > allSatellitesInUse() const
QList< QGeoSatelliteInfo > m_satellitesInViewParsed
void setSatellitesInView(QGeoSatelliteInfo::SatelliteSystem system, const QList< QGeoSatelliteInfo > &inView)
QList< QGeoSatelliteInfo > satellitesInView
bool satellitesInUseReceived
QList< QGeoSatelliteInfo > satellitesInUse