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
QNmeaRealTimeReader Class Reference

#include <qnmeapositioninfosource_p.h>

+ Inheritance diagram for QNmeaRealTimeReader:
+ Collaboration diagram for QNmeaRealTimeReader:

Public Member Functions

 QNmeaRealTimeReader (QNmeaPositionInfoSourcePrivate *sourcePrivate)
 
 ~QNmeaRealTimeReader () override
 
void readAvailableData () override
 
void notifyNewUpdate ()
 
- Public Member Functions inherited from QNmeaReader
 QNmeaReader (QNmeaPositionInfoSourcePrivate *sourcePrivate)
 
virtual ~QNmeaReader ()
 

Public Attributes

QGeoPositionInfo m_update
 
QDateTime m_lastPushedTS
 
bool m_updateParsed = false
 
bool m_hasFix = false
 
QTimer m_timer
 
int m_pushDelay = -1
 

Additional Inherited Members

- Protected Attributes inherited from QNmeaReader
QNmeaPositionInfoSourcePrivatem_proxy
 

Detailed Description

Definition at line 109 of file qnmeapositioninfosource_p.h.

Constructor & Destructor Documentation

◆ QNmeaRealTimeReader()

QNmeaRealTimeReader::QNmeaRealTimeReader ( QNmeaPositionInfoSourcePrivate * sourcePrivate)
explicit

Definition at line 128 of file qnmeapositioninfosource.cpp.

References QObject::connect(), m_pushDelay, m_timer, notifyNewUpdate(), ok, qEnvironmentVariableIntValue(), QTimer::setInterval(), QTimer::setSingleShot(), and QTimer::timeout().

+ Here is the call graph for this function:

◆ ~QNmeaRealTimeReader()

QNmeaRealTimeReader::~QNmeaRealTimeReader ( )
overridedefault

Member Function Documentation

◆ notifyNewUpdate()

void QNmeaRealTimeReader::notifyNewUpdate ( )

Definition at line 245 of file qnmeapositioninfosource.cpp.

References QDateTime::date(), QDate::isValid(), m_hasFix, m_lastPushedTS, QNmeaReader::m_proxy, m_timer, m_update, QNmeaPositionInfoSourcePrivate::notifyNewUpdate(), QTimer::stop(), QDateTime::time(), and QGeoPositionInfo::timestamp().

Referenced by QNmeaRealTimeReader(), and readAvailableData().

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

◆ readAvailableData()

Member Data Documentation

◆ m_hasFix

bool QNmeaRealTimeReader::m_hasFix = false

Definition at line 122 of file qnmeapositioninfosource_p.h.

Referenced by notifyNewUpdate(), and readAvailableData().

◆ m_lastPushedTS

QDateTime QNmeaRealTimeReader::m_lastPushedTS

Definition at line 120 of file qnmeapositioninfosource_p.h.

Referenced by notifyNewUpdate(), and readAvailableData().

◆ m_pushDelay

int QNmeaRealTimeReader::m_pushDelay = -1

Definition at line 124 of file qnmeapositioninfosource_p.h.

Referenced by QNmeaRealTimeReader(), and readAvailableData().

◆ m_timer

QTimer QNmeaRealTimeReader::m_timer

◆ m_update

QGeoPositionInfo QNmeaRealTimeReader::m_update

Definition at line 119 of file qnmeapositioninfosource_p.h.

Referenced by notifyNewUpdate(), and readAvailableData().

◆ m_updateParsed

bool QNmeaRealTimeReader::m_updateParsed = false

Definition at line 121 of file qnmeapositioninfosource_p.h.

Referenced by readAvailableData().


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