fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 gpstimingbuffer.h - description 00003 00004 begin : Fri Mar 28 2003 00005 copyright : (C) 2003 by A Kopmann 00006 email : kopmann@ipe.fzk.de 00007 status : 00008 test : 00009 history : 00010 ***************************************************************************/ 00011 00012 00013 #ifndef GPSTIMINGBUFFER_H 00014 #define GPSTIMINGBUFFER_H 00015 00016 00017 struct secTiming{ 00018 unsigned long pcSec; // Name of the second 00019 int pcMiliSec; // Arival of the message 00020 unsigned long oncoreSec; // Oncore counter 00021 unsigned long gpsSec; // Name of the second 00022 int leapSec; // Leap seconds 00023 00024 int phase; // Phase 00025 //int mSec; // ms 00026 //int uSec; // us 00027 //int n125Sec; // 12.5 ns 00028 int count; // counter [12.5ns] 00029 int sawtooth; // neagtive sawtooth parameter 00030 00031 double T10; // (Real) length of the "10MHz" signal [ns] 00032 double offset; // Offset between 1pps signal and "10MHz" signal [ns] 00033 00034 }; 00035 00036 00041 class GpsTimingBuffer { 00042 public: 00043 GpsTimingBuffer(); 00044 ~GpsTimingBuffer(); 00045 00046 private: 00047 00048 00049 00050 }; 00051 00052 #endif