source: ntrip/branches/BNC_2.11.0/src/pppopt.h@ 9921

Last change on this file since 9921 was 5157, checked in by mervart, 12 years ago
File size: 2.1 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 PPPOPT_H
26#define PPPOPT_H
27
28#include <QtCore>
29
30class t_pppOpt {
31 public:
32 t_pppOpt();
33 ~t_pppOpt();
34 bool refCrdSet() const {
35 return refCrd[0] != 0.0 || refCrd[1] != 0 || refCrd[2] != 0.0;
36 }
37 bool antEccSet() const {
38 return antEccNEU[0] != 0.0 || antEccNEU[1] != 0.0 || antEccNEU[2] != 0.0;
39 }
40 double sigL3;
41 double sigP3;
42 double sigCrd0;
43 double sigCrdP;
44 double sigTrp0;
45 double sigTrpP;
46 double refCrd[3];
47 double antEccNEU[3];
48 double maxSolGap;
49 double quickStart;
50 double corrSync;
51 double pppAverage;
52 QString pppCorrMount;
53 QString nmeaFile;
54 QString antexFile;
55 QString antennaName;
56 QString obsFileName;
57 QString navFileName;
58 QString corrFileName;
59 bool pppMode;
60 bool rnxAppend;
61 bool usePhase;
62 bool estTropo;
63 bool useGlonass;
64 bool useGalileo;
65 double sigGlonassOffset0;
66 double sigGlonassOffsetP;
67 double sigGalileoOffset0;
68 double sigGalileoOffsetP;
69 double sigAmb0;
70 double sigClk0;
71 private:
72 double settingsToDouble(const QByteArray& keyName, double defaultValue = 0.0) const;
73 bool settingsChecked(const QByteArray& keyName) const;
74};
75
76#endif
Note: See TracBrowser for help on using the repository browser.