source: ntrip/trunk/BNC/src/orbComp/sp3Comp.h@ 6344

Last change on this file since 6344 was 6344, checked in by mervart, 9 years ago
File size: 1.9 KB
Line 
1// Part of BNC, a utility for retrieving decoding and
2// converting GNSS data streams from NTRIP broadcasters.
3//
4// Copyright (C) 2007
5// German Federal Agency for Cartography and Geodesy (BKG)
6// http://www.bkg.bund.de
7// Czech Technical University Prague, Department of Geodesy
8// http://www.fsv.cvut.cz
9//
10// Email: euref-ip@bkg.bund.de
11//
12// This program is free software; you can redistribute it and/or
13// modify it under the terms of the GNU General Public License
14// as published by the Free Software Foundation, version 2.
15//
16// This program is distributed in the hope that it will be useful,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19// GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program; if not, write to the Free Software
23// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
25#ifndef SP3COMP_H
26#define SP3COMP_H
27
28#include <map>
29#include <QtCore>
30#include <newmat.h>
31#include "bnctime.h"
32#include "t_prn.h"
33
34class t_sp3Comp : public QThread {
35Q_OBJECT
36
37 public:
38 t_sp3Comp(QObject* parent);
39
40 protected:
41 ~t_sp3Comp();
42
43 signals:
44 void finished();
45
46 public slots:
47
48 public:
49 virtual void run();
50
51 private:
52 class t_epoch {
53 public:
54 bncTime _tt;
55 std::map<t_prn, ColumnVector> _dr;
56 std::map<t_prn, ColumnVector> _xyz;
57 std::map<t_prn, double> _dc;
58 };
59
60 class t_stat {
61 public:
62 t_stat() {
63 _rao.ReSize(3);
64 _rao = 0.0;
65 _dc = 0.0;
66 _dcRed = 0.0;
67 _offset = 0.0;
68 _nr = 0;
69 _nc = 0;
70 }
71 ColumnVector _rao;
72 double _dc;
73 double _dcRed;
74 double _offset;
75 int _nr;
76 int _nc;
77 };
78
79 QStringList _sp3FileNames;
80 QString _logFileName;
81 QFile* _logFile;
82 QTextStream* _log;
83};
84
85#endif
Note: See TracBrowser for help on using the repository browser.