GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LIBGPSMM(3) GPSD Documentation LIBGPSMM(3)

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

C++:

#include <libgpsmm>

struct gps_data_t * open(char * host char * port)

struct gps_data_t * open(void)

struct gps_data_t * send(char * request)

struct gps_data_t * read(void)

struct gps_data_t * waiting(int)

struct gps_data_t * stream unsigned(int flags)

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

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

Project web site: <https://gpsd.io/>

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

Alfredo Pironti
2021-09-03 GPSD, Version 3.23.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.