2017-05-23 14:34:35 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/gps/qgsnmeaconnection.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-14 19:29:13 +01:00
|
|
|
class QgsNmeaConnection: QgsGpsConnection
|
2017-05-23 14:34:35 +02:00
|
|
|
{
|
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Evaluates NMEA sentences coming from a GPS device
|
2018-01-15 08:38:19 -04:00
|
|
|
|
|
|
|
.. versionadded:: 1.4
|
2017-05-23 14:34:35 +02:00
|
|
|
%End
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsnmeaconnection.h"
|
|
|
|
%End
|
|
|
|
public:
|
2018-01-15 11:19:36 -04:00
|
|
|
|
|
|
|
QgsNmeaConnection( QIODevice *device );
|
|
|
|
%Docstring
|
|
|
|
Constructs a QgsNmeaConnection with given ``device``.
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
protected slots:
|
2017-05-23 14:34:35 +02:00
|
|
|
virtual void parseData();
|
|
|
|
|
|
|
|
%Docstring
|
|
|
|
Parse available data source content
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void processStringBuffer();
|
2017-05-23 14:34:35 +02:00
|
|
|
%Docstring
|
|
|
|
Splits mStringBuffer into sentences and calls libnmea
|
|
|
|
%End
|
2018-01-15 11:19:36 -04:00
|
|
|
void processGgaSentence( const char *data, int len );
|
|
|
|
%Docstring
|
|
|
|
process GGA sentence
|
|
|
|
%End
|
|
|
|
void processRmcSentence( const char *data, int len );
|
|
|
|
%Docstring
|
|
|
|
process RMC sentence
|
|
|
|
%End
|
|
|
|
void processGsvSentence( const char *data, int len );
|
|
|
|
%Docstring
|
|
|
|
process GSV sentence
|
|
|
|
%End
|
|
|
|
void processVtgSentence( const char *data, int len );
|
|
|
|
%Docstring
|
|
|
|
process VTG sentence
|
|
|
|
%End
|
|
|
|
void processGsaSentence( const char *data, int len );
|
|
|
|
%Docstring
|
|
|
|
process GSA sentence
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
2017-05-23 14:34:35 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/gps/qgsnmeaconnection.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|