Quantum GIS API Documentation  master-ce49b66
QgsNMEAConnection Class Reference

Evaluates NMEA sentences coming from a GPS device. More...

#include <qgsnmeaconnection.h>

+ Inheritance diagram for QgsNMEAConnection:
+ Collaboration diagram for QgsNMEAConnection:

List of all members.

Public Member Functions

 QgsNMEAConnection (QIODevice *dev)
 ~QgsNMEAConnection ()

Protected Slots

void parseData ()
 Parse available data source content.

Protected Member Functions

void processGGASentence (const char *data, int len)
void processGSASentence (const char *data, int len)
void processGSVSentence (const char *data, int len)
void processRMCSentence (const char *data, int len)
void processStringBuffer ()
 Splits mStringBuffer into sentences and calls libnmea.
void processVTGSentence (const char *data, int len)

Protected Attributes

QString mStringBuffer
 Store data from the device before it is processed.

Detailed Description

Evaluates NMEA sentences coming from a GPS device.

Definition at line 24 of file qgsnmeaconnection.h.


Constructor & Destructor Documentation

Definition at line 34 of file qgsnmeaconnection.cpp.


Member Function Documentation

void QgsNMEAConnection::processVTGSentence ( const char *  data,
int  len 
) [protected]

Member Data Documentation

QString QgsNMEAConnection::mStringBuffer [protected]

Store data from the device before it is processed.

Definition at line 37 of file qgsnmeaconnection.h.

Referenced by parseData(), and processStringBuffer().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines