|
QGIS API Documentation
2.6.0-Brighton
|
Evaluates NMEA sentences coming from gpsd. More...
#include <qgsgpsdconnection.h>

Public Member Functions | |
| QgsGpsdConnection (QString host, qint16 port, QString device) | |
| ~QgsGpsdConnection () | |
Public Member Functions inherited from QgsNMEAConnection | |
| QgsNMEAConnection (QIODevice *dev) | |
| ~QgsNMEAConnection () | |
Public Member Functions inherited from QgsGPSConnection | |
| QgsGPSConnection (QIODevice *dev) | |
| Constructor. | |
| virtual | ~QgsGPSConnection () |
| bool | connect () |
| Opens connection to device. | |
| bool | close () |
| Closes connection to device. | |
| void | setSource (QIODevice *source) |
| Sets the GPS source. | |
| Status | status () const |
| Returns the status. | |
| QgsGPSInformation | currentGPSInformation () const |
| Returns the current gps information (lat, lon, etc.) | |
Additional Inherited Members | |
Public Types inherited from QgsGPSConnection | |
| enum | Status { NotConnected, Connected, DataReceived, GPSDataReceived } |
Signals inherited from QgsGPSConnection | |
| void | stateChanged (const QgsGPSInformation &info) |
| void | nmeaSentenceReceived (const QString &substring) |
Protected Slots inherited from QgsNMEAConnection | |
| void | parseData () |
| Parse available data source content. | |
Protected Member Functions inherited from QgsNMEAConnection | |
| void | processStringBuffer () |
| Splits mStringBuffer into sentences and calls libnmea. | |
| 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) |
Protected Attributes inherited from QgsNMEAConnection | |
| QString | mStringBuffer |
| Store data from the device before it is processed. | |
Evaluates NMEA sentences coming from gpsd.
| QgsGpsdConnection::QgsGpsdConnection | ( | QString | host, |
| qint16 | port, | ||
| QString | device | ||
| ) |
| QgsGpsdConnection::~QgsGpsdConnection | ( | ) |
1.8.1.2