QGIS API Documentation
2.12.0-Lyon
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
core
gps
qgsgpsdconnection.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsgpsdconnection.h - description
3
-------------------
4
begin : October 4th, 2010
5
copyright : (C) 2010 by Jürgen E. Fischer, norBIT GmbH
6
email : jef at norbit dot de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSGPSDCONNECTION_H
19
#define QGSGPSDCONNECTION_H
20
21
#include "
qgsnmeaconnection.h
"
22
23
#include <QAbstractSocket>
24
26
class
CORE_EXPORT
QgsGpsdConnection
:
public
QgsNMEAConnection
27
{
28
Q_OBJECT
29
public
:
30
QgsGpsdConnection
(
const
QString
& host, qint16 port,
const
QString
& device );
31
~
QgsGpsdConnection
();
32
33
private
slots:
34
void
connected();
35
void
error( QAbstractSocket::SocketError );
36
37
private
:
38
QString
mDevice;
39
};
40
41
#endif // QGSGPSDCONNECTION_H
QgsGpsdConnection
Evaluates NMEA sentences coming from gpsd.
Definition:
qgsgpsdconnection.h:26
qgsnmeaconnection.h
QgsNMEAConnection
Evaluates NMEA sentences coming from a GPS device.
Definition:
qgsnmeaconnection.h:24
QString
Generated on Sat Oct 24 2015 04:11:22 for QGIS API Documentation by
1.8.9.1