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
QNmeaSatelliteInfoUpdate Struct Reference

#include <qnmeasatelliteinfosource_p.h>

+ Collaboration diagram for QNmeaSatelliteInfoUpdate:

Public Member Functions

QList< QGeoSatelliteInfoallSatellitesInUse () const
 
QList< QGeoSatelliteInfoallSatellitesInView () const
 
void setSatellitesInView (QGeoSatelliteInfo::SatelliteSystem system, const QList< QGeoSatelliteInfo > &inView)
 
bool setSatellitesInUse (QGeoSatelliteInfo::SatelliteSystem system, const QList< int > &inUse)
 
void consume ()
 
bool isFresh () const
 
void clear ()
 
bool isValid () const
 
bool calculateValidInUse () const
 
bool calculateValidInView () const
 

Public Attributes

QMap< QGeoSatelliteInfo::SatelliteSystem, SatelliteInfom_satellites
 
QList< QGeoSatelliteInfom_satellitesInViewParsed
 
bool m_validInView = false
 
bool m_validInUse = false
 
bool m_fresh = false
 
QByteArray gsa
 
QList< QByteArraygsv
 

Detailed Description

Definition at line 44 of file qnmeasatelliteinfosource_p.h.

Member Function Documentation

◆ allSatellitesInUse()

QList< QGeoSatelliteInfo > QNmeaSatelliteInfoUpdate::allSatellitesInUse ( ) const

Definition at line 656 of file qnmeasatelliteinfosource.cpp.

References QList< T >::append(), and m_satellites.

Referenced by QNmeaSatelliteInfoSourcePrivate::emitUpdated().

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

◆ allSatellitesInView()

QList< QGeoSatelliteInfo > QNmeaSatelliteInfoUpdate::allSatellitesInView ( ) const

Definition at line 664 of file qnmeasatelliteinfosource.cpp.

References QList< T >::append(), and m_satellites.

Referenced by QNmeaSatelliteInfoSourcePrivate::emitUpdated().

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

◆ calculateValidInUse()

bool QNmeaSatelliteInfoUpdate::calculateValidInUse ( ) const

Definition at line 810 of file qnmeasatelliteinfosource.cpp.

References m_satellites.

Referenced by setSatellitesInUse(), and setSatellitesInView().

+ Here is the caller graph for this function:

◆ calculateValidInView()

bool QNmeaSatelliteInfoUpdate::calculateValidInView ( ) const

Definition at line 819 of file qnmeasatelliteinfosource.cpp.

References m_satellites.

Referenced by setSatellitesInView().

+ Here is the caller graph for this function:

◆ clear()

void QNmeaSatelliteInfoUpdate::clear ( )

Definition at line 791 of file qnmeasatelliteinfosource.cpp.

References QByteArray::clear(), QList< T >::clear(), QMap< Key, T >::clear(), gsa, gsv, m_fresh, m_satellites, m_satellitesInViewParsed, m_validInUse, and m_validInView.

Referenced by QNmeaSatelliteInfoSourcePrivate::startUpdates(), and QNmeaSatelliteInfoSourcePrivate::stopUpdates().

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

◆ consume()

void QNmeaSatelliteInfoUpdate::consume ( )

Definition at line 781 of file qnmeasatelliteinfosource.cpp.

References m_fresh.

Referenced by QNmeaSatelliteInfoSourcePrivate::emitUpdated().

+ Here is the caller graph for this function:

◆ isFresh()

bool QNmeaSatelliteInfoUpdate::isFresh ( ) const

Definition at line 786 of file qnmeasatelliteinfosource.cpp.

References m_fresh.

Referenced by QNmeaSatelliteInfoSourcePrivate::emitPendingUpdate(), QNmeaSatelliteInfoSourcePrivate::emitUpdated(), and QNmeaSatelliteInfoSourcePrivate::notifyNewUpdate().

+ Here is the caller graph for this function:

◆ isValid()

bool QNmeaSatelliteInfoUpdate::isValid ( ) const

Definition at line 804 of file qnmeasatelliteinfosource.cpp.

References m_validInUse, and m_validInView.

Referenced by QNmeaSatelliteInfoSourcePrivate::emitPendingUpdate(), and QNmeaSatelliteInfoSourcePrivate::notifyNewUpdate().

+ Here is the caller graph for this function:

◆ setSatellitesInUse()

bool QNmeaSatelliteInfoUpdate::setSatellitesInUse ( QGeoSatelliteInfo::SatelliteSystem system,
const QList< int > & inUse )

Definition at line 736 of file qnmeasatelliteinfosource.cpp.

References calculateValidInUse(), info, m_fresh, m_satellites, m_validInUse, m_validInView, QGeoSatelliteInfo::Multiple, and QGeoSatelliteInfo::Undefined.

Referenced by QNmeaSatelliteInfoSourcePrivate::processNmeaData().

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

◆ setSatellitesInView()

void QNmeaSatelliteInfoUpdate::setSatellitesInView ( QGeoSatelliteInfo::SatelliteSystem system,
const QList< QGeoSatelliteInfo > & inView )

Definition at line 672 of file qnmeasatelliteinfosource.cpp.

References calculateValidInUse(), calculateValidInView(), info, m_fresh, m_satellites, m_validInUse, and m_validInView.

Referenced by QNmeaSatelliteInfoSourcePrivate::processNmeaData().

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

Member Data Documentation

◆ gsa

QByteArray QNmeaSatelliteInfoUpdate::gsa

◆ gsv

QList<QByteArray> QNmeaSatelliteInfoUpdate::gsv

◆ m_fresh

bool QNmeaSatelliteInfoUpdate::m_fresh = false

◆ m_satellites

◆ m_satellitesInViewParsed

QList<QGeoSatelliteInfo> QNmeaSatelliteInfoUpdate::m_satellitesInViewParsed

◆ m_validInUse

◆ m_validInView


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