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 *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsNMEAConnection: QgsGPSConnection
|
|
|
|
{
|
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Evaluates NMEA sentences coming from a GPS device
|
2017-05-23 14:34:35 +02:00
|
|
|
%End
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsnmeaconnection.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
QgsNMEAConnection( QIODevice *dev );
|
|
|
|
|
|
|
|
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
|
2017-05-01 18:13:15 +02:00
|
|
|
void processGGASentence( const char *data, int len );
|
|
|
|
void processRMCSentence( const char *data, int len );
|
|
|
|
void processGSVSentence( const char *data, int len );
|
|
|
|
void processVTGSentence( const char *data, int len );
|
|
|
|
void processGSASentence( const char *data, int len );
|
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 *
|
|
|
|
************************************************************************/
|