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

NAME

6       libgpsmm, libQgpsmm - C++ and QT class wrapper for the GPS daemon
7

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

40       gpsd(8), gps(1), libgps(3).
41

AUTHOR

43       Alfredo Pironti <alfredio@users.sourceforge.net>.
44
45
46
47The GPSD Project                6 December 2020                    LIBGPSMM(3)
Impressum