|
QGIS API Documentation
2.4.0-Chugiak
|
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. More... | |
| virtual | ~QgsGPSConnection () |
| bool | connect () |
| Opens connection to device. More... | |
| bool | close () |
| Closes connection to device. More... | |
| void | setSource (QIODevice *source) |
| Sets the GPS source. More... | |
| Status | status () const |
| Returns the status. More... | |
| QgsGPSInformation | currentGPSInformation () const |
| Returns the current gps information (lat, lon, etc.) More... | |
Private Slots | |
| void | connected () |
| void | error (QAbstractSocket::SocketError) |
Private Attributes | |
| QString | mDevice |
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. More... | |
Protected Slots inherited from QgsGPSConnection | |
| virtual void | parseData ()=0 |
| Parse available data source content. More... | |
Protected Member Functions inherited from QgsNMEAConnection | |
| void | processStringBuffer () |
| Splits mStringBuffer into sentences and calls libnmea. More... | |
| 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. More... | |
Protected Attributes inherited from QgsGPSConnection | |
| QIODevice * | mSource |
| Data source (e.g. More... | |
| QgsGPSInformation | mLastGPSInformation |
| Last state of the gps related variables (e.g. More... | |
| Status | mStatus |
| Connection status. More... | |
Evaluates NMEA sentences coming from gpsd.
Definition at line 26 of file qgsgpsdconnection.h.
| QgsGpsdConnection::QgsGpsdConnection | ( | QString | host, |
| qint16 | port, | ||
| QString | device | ||
| ) |
Definition at line 23 of file qgsgpsdconnection.cpp.
References connected(), error(), and QgsGPSConnection::mSource.
| QgsGpsdConnection::~QgsGpsdConnection | ( | ) |
Definition at line 34 of file qgsgpsdconnection.cpp.
References QgsDebugMsg.
|
privateslot |
Definition at line 40 of file qgsgpsdconnection.cpp.
References mDevice, QgsGPSConnection::mSource, and QgsDebugMsg.
Referenced by QgsGpsdConnection().
|
privateslot |
Definition at line 47 of file qgsgpsdconnection.cpp.
References QgsGPSConnection::mSource, and QgsDebugMsg.
Referenced by QgsGpsdConnection().
|
private |
Definition at line 38 of file qgsgpsdconnection.h.
Referenced by connected().
1.8.7