1LIBGPSMM(3)                                                        LIBGPSMM(3)
2
3
4

NAME

6       libgpsmm - C++ class wrapper for the GPS daemon
7

SYNOPSIS

9       C++:
10
11       #include <libgpsmm>
12
13
14
15
16       struct gps_data_t *open (char *host, char *port);
17
18       struct gps_data_t *open (void);
19
20       struct gps_data_t *query (char *request);
21
22       struct gps_data_t *poll (void);
23
24       int set_callback (void (*hook)(struct gps_data_t *sentence, char *buf));
25
26       int del_callback (void);
27
28

DESCRIPTION

30       libgpsmm is a mere wrapper over libgps. Method names are  the  same  as
31       the  analogue  C functions. For a detailed description of the functions
32       please read libgps(3). open() must be called  after  class  constructor
33       and before any other method (open() is not inside the constructor since
34       it may fail, however constructors have no return value).  The  analogue
35       of the C function gps_close() is in the destructor.
36
37

SEE ALSO

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

AUTHOR

43       Alfredo Pironti <alfredio@users.sourceforge.net>.
44
45
46
47
48                                  13 May 2005                      LIBGPSMM(3)
Impressum