📄 libgpsmm.3
字号:
.\"Generated by db2man.xsl. Don't modify this, modify the source..de Sh \" Subsection.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Ip \" List item.br.ie \\n(.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...TH "LIBGPSMM" 3 "13 May 2005" "" "".SH NAMElibgpsmm \- C++ class wrapper for the GPS daemon.SH "SYNOPSIS".ad l.hy 0C++:#include <libgpsmm>.sp.HP 26struct\ gps_data_t\ *\fBopen\fR\ (char\ *\fIhost\fR, char\ *\fIport\fR);.HP 26struct\ gps_data_t\ *\fBopen\fR\ (void);.HP 27struct\ gps_data_t\ *\fBquery\fR\ (char\ *\fIrequest\fR);.HP 26struct\ gps_data_t\ *\fBpoll\fR\ (void);.HP 18int\ \fBset_callback\fR\ (void\ (*\fIhook\fR)(struct\ gps_data_t\ *sentence,\ char\ *buf));.HP 18int\ \fBdel_callback\fR\ (void);.ad.hy.SH "DESCRIPTION".PP\fIlibgpsmm\fR is a mere wrapper over \fIlibgps\fR\&. Method names are the same as the analogue C functions\&. For a detailed description of the functions please read \fBlibgps\fR(3)\&. \fBopen()\fR must be called after class constructor and before any other method (\fBopen()\fR is not inside the constructor since it may fail, however constructors have no return value)\&. The analogue of the C function \fBgps_close()\fR is in the destructor\&..SH "SEE ALSO".PP \fBgpsd\fR(8), \fBgps\fR(1), \fBlibgps\fR(3)\&..SH "AUTHOR".PPAlfredo Pironti <alfredio@users\&.sourceforge\&.net>\&.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -