1LIBGPSMM(3)                   GPSD Documentation                   LIBGPSMM(3)
2
3
4

NAME

6       libgpsmm, libQgpsm - C++ and QT class wrappers for the GPS daemon
7

SYNOPSIS

9       C++:
10
11           #include <libgpsmm>
12
13           struct gps_data_t * open(char * host char * port)
14
15           struct gps_data_t * open(void)
16
17           struct gps_data_t * send(char * request)
18
19           struct gps_data_t * read(void)
20
21           struct gps_data_t * waiting(int)
22
23           struct gps_data_t * stream unsigned(int flags)
24

DESCRIPTION

26       libgpsmm and libQgpsmm are mere wrappers over libgps. The important
27       difference between the libraries is that libgpsmm is targeted at C++
28       applications and contained in libgps, while libQgpsmm is platform
29       independent by using QTcpSocket to connect to gpsd and shipped as an
30       additional library due to the necessary linking to QT. Method names are
31       the same as the analogue C functions. For a detailed description of the
32       functions please read libgps(3). open() must be called after class
33       constructor and before any other method (open()` is not inside the
34       constructor since it may fail, however constructors have no return
35       value). The analogue of the C function gps_close() is in the
36       destructor.
37

SEE ALSO

39       gpsd(8), gps(1), libgps(3)
40

RESOURCES

42       Project web site: https://gpsd.io/
43

COPYING

45       This file is Copyright 2013 by the GPSD project
46       SPDX-License-Identifier: BSD-2-clause
47

AUTHOR

49       Alfredo Pironti
50
51
52
53GPSD, Version 3.25                2023-01-10                       LIBGPSMM(3)
Impressum