source: ntrip/trunk/BNS/bnseph.h@ 827

Last change on this file since 827 was 800, checked in by mervart, 17 years ago

* empty log message *

File size: 1.3 KB
Line 
1#ifndef BNSEPH_H
2#define BNSEPH_H
3
4#include <QThread>
5#include <QtNetwork>
6
7class gpsEph {
8 public:
9 QString prn;
10 double GPSweek;
11 double TOW; // [s]
12 double TOC; // [s]
13 double TOE; // [s]
14 double IODE;
15 double IODC;
16
17 double clock_bias; // [s]
18 double clock_drift; // [s/s]
19 double clock_driftrate; // [s/s^2]
20
21 double Crs; // [m]
22 double Delta_n; // [rad/s]
23 double M0; // [rad]
24 double Cuc; // [rad]
25 double e; //
26 double Cus; // [rad]
27 double sqrt_A; // [m^0.5]
28 double Cic; // [rad]
29 double OMEGA0; // [rad]
30 double Cis; // [rad]
31 double i0; // [rad]
32 double Crc; // [m]
33 double omega; // [rad]
34 double OMEGADOT; // [rad/s]
35 double IDOT; // [rad/s]
36
37 double TGD; // [s]
38};
39
40class t_bnseph : public QThread {
41 Q_OBJECT
42 public:
43 t_bnseph(QObject* parent = 0);
44 virtual ~t_bnseph();
45 virtual void run();
46
47 signals:
48 void newEph(gpsEph* eph);
49 void newMessage(const QByteArray msg);
50 void error(const QByteArray msg);
51
52 private:
53 void readEph();
54 QTcpSocket* _socket;
55};
56#endif
Note: See TracBrowser for help on using the repository browser.