source: ntrip/branches/BNC_2.13.beta/src/pppOptions.h@ 10230

Last change on this file since 10230 was 10034, checked in by stuerze, 19 months ago
File size: 2.8 KB
Line 
1#ifndef OPTIONS_H
2#define OPTIONS_H
3
4#include <string>
5#include <vector>
6#include <newmat.h>
7#include "pppInclude.h"
8
9namespace BNC_PPP {
10
11class t_pppOptions {
12 public:
13 enum e_type {IF, UncombPPP, PPPRTK};
14 t_pppOptions();
15 ~t_pppOptions();
16
17 std::vector<char> systems() const;
18 const std::vector<t_lc::type>& LCs(char system) const;
19 std::vector<t_lc::type> ambLCs(char system) const;
20 std::vector<t_lc::type> codeLCs(char system) const;
21 std::vector<t_lc::type> ionoLCs(char system) const;
22 bool useSystem(char system) const {return LCs(system).size() > 0;}
23 bool useOrbClkCorr() const;
24 bool estTrp() const {return _aprSigTrp > 0.0 || _noiseTrp > 0.0;}
25 bool xyzAprRoverSet() const {
26 return (_xyzAprRover[0] != 0.0 || _xyzAprRover[1] != 0.0 || _xyzAprRover[2] != 0.0);
27 }
28
29 e_type _obsModelType;
30 QStringList _obsmodelTypeStr = QStringList()
31 << "IF PPP"
32 << "Uncombined PPP";
33 bool _realTime;
34 std::string _crdFile;
35 std::string _corrMount;
36 std::string _ionoMount;
37 bool _isAPC;
38 std::string _rinexObs;
39 std::string _rinexNav;
40 std::string _corrFile;
41 std::string _ionoFile;
42 double _corrWaitTime;
43 std::string _roverName;
44 ColumnVector _xyzAprRover;
45 ColumnVector _neuEccRover;
46 std::string _recNameRover;
47 std::string _antNameRover;
48 std::string _antexFileName;
49 std::string _blqFileName;
50 double _sigmaC1;
51 double _sigmaL1;
52 double _sigmaGIM;
53 double _maxResC1;
54 double _maxResL1;
55 double _maxResGIM;
56 bool _eleWgtCode;
57 bool _eleWgtPhase;
58 double _minEle;
59 int _minObs;
60 ColumnVector _aprSigCrd;
61 double _aprSigClk;
62 double _aprSigTrp;
63 double _aprSigIon;
64 double _aprSigAmb;
65 double _aprSigCodeBias;
66 double _aprSigPhaseBias;
67 ColumnVector _noiseCrd;
68 double _noiseTrp;
69 double _noiseIon;
70 double _noiseCodeBias;
71 double _noisePhaseBias;
72 int _nmeaPort;
73 std::string _signalPriorities;
74 double _seedingTime;
75 std::vector<t_lc::type> _LCsGPS;
76 std::vector<t_lc::type> _LCsGLONASS;
77 std::vector<t_lc::type> _LCsGalileo;
78 std::vector<t_lc::type> _LCsBDS;
79 bool _pseudoObsIono;
80 bool _refSatRequired;
81};
82
83}
84
85#endif
Note: See TracBrowser for help on using the repository browser.