fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 gps167.h - description 00003 ------------------- 00004 begin : Fri Oct 20 2006 00005 copyright : (C) 2006 by Andreas Kopmann 00006 email : kopmann@ipe.fzk.de 00007 ***************************************************************************/ 00008 00009 00010 #ifndef GPS167_H 00011 #define GPS167_H 00012 00013 #include <cstdio> 00014 #include <string> 00015 #include <stdexcept> 00016 00017 #include <gpsoncore/gpsclock.h> 00018 00019 00058 class Gps167 { 00059 public: 00060 00061 Gps167(); 00062 ~Gps167(); 00063 00069 char * getCaptureMsg(int ch, struct captureTimeStamp *ts); 00070 00078 int getCaptureTimestamp(char *msg, int *ch, unsigned int *sec, unsigned int *nanoSec); 00079 00080 00081 private: 00082 00084 static char captureMsg[]; 00085 00086 }; 00087 00088 #endif