QGIS/python/core/gps/qgsnmeaconnection.sip
Juergen E. Fischer 9752c468c1 indentation update
2015-07-29 11:52:14 +02:00

24 lines
761 B
Plaintext

/** Evaluates NMEA sentences coming from a GPS device*/
class QgsNMEAConnection: QgsGPSConnection {
%TypeHeaderCode
#include "qgsnmeaconnection.h"
%End
public:
QgsNMEAConnection( QIODevice *dev );
~QgsNMEAConnection();
protected slots:
/** Parse available data source content*/
void parseData();
protected:
/** Splits mStringBuffer into sentences and calls libnmea*/
void processStringBuffer();
//handle the different sentence type
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 );
};