QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsGpsdConnection Class Reference

Evaluates NMEA sentences coming from gpsd. More...

#include <qgsgpsdconnection.h>

Inheritance diagram for QgsGpsdConnection:
Inheritance graph
[legend]

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 close ()
 Closes connection to device.
bool connect ()
 Opens connection to device.
QgsGPSInformation currentGPSInformation () const
 Returns the current gps information (lat, lon, etc.)
void setSource (QIODevice *source)
 Sets the GPS source.
Status status () const
 Returns the status.

Additional Inherited Members

- Public Types inherited from QgsGPSConnection
enum  Status { NotConnected, Connected, DataReceived, GPSDataReceived }
- Signals inherited from QgsGPSConnection
void nmeaSentenceReceived (const QString &substring)
void stateChanged (const QgsGPSInformation &info)
- Protected Slots inherited from QgsNMEAConnection
void parseData () override
 Parse available data source content.
- Protected Member Functions inherited from QgsNMEAConnection
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 inherited from QgsNMEAConnection
QString mStringBuffer
 Store data from the device before it is processed.

Detailed Description

Evaluates NMEA sentences coming from gpsd.

Definition at line 26 of file qgsgpsdconnection.h.

Constructor & Destructor Documentation

QgsGpsdConnection::QgsGpsdConnection ( QString  host,
qint16  port,
QString  device 
)

Definition at line 23 of file qgsgpsdconnection.cpp.

QgsGpsdConnection::~QgsGpsdConnection ( )

Definition at line 34 of file qgsgpsdconnection.cpp.


The documentation for this class was generated from the following files: