source: ntrip/trunk/BNC/src/PPP/pppOptions.h@ 5957

Last change on this file since 5957 was 5957, checked in by mervart, 10 years ago
File size: 1.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 t_pppOptions();
14 ~t_pppOptions();
15
16 const std::vector<t_lc::type>& LCs(char system) const;
17 bool dualFreqRequired(char system) const;
18 bool useOrbClkCorr() const;
19 std::vector<char> systems() const;
20 std::vector<t_lc::type> ambLCs(char system) const;
21 bool useGlonass() const {return _LCsGLONASS.size() > 0;}
22 bool estTrp() const {return _aprSigTrp > 0.0 || _noiseTrp > 0.0;}
23 bool xyzAprRoverSet() const {
24 return (_xyzAprRover[0] != 0.0 || _xyzAprRover[1] != 0.0 || _xyzAprRover[2] != 0.0);
25 }
26
27 bool _realTime;
28 std::string _crdFile;
29 std::string _corrMount;
30 std::string _rinexObs;
31 std::string _rinexNav;
32 std::string _corrFile;
33 double _corrWaitTime;
34 std::string _roverName;
35 ColumnVector _xyzAprRover;
36 ColumnVector _neuEccRover;
37 std::string _antNameRover;
38 std::string _antexFileName;
39 double _sigmaC1;
40 double _sigmaL1;
41 double _maxResC1;
42 double _maxResL1;
43 bool _eleWgtCode;
44 bool _eleWgtPhase;
45 double _minEle;
46 int _minObs;
47 ColumnVector _aprSigCrd;
48 ColumnVector _noiseCrd;
49 double _noiseClk;
50 double _aprSigTrp;
51 double _noiseTrp;
52 double _aprSigAmb;
53 double _seedingTime;
54 std::vector<t_lc::type> _LCsGPS;
55 std::vector<t_lc::type> _LCsGLONASS;
56 std::vector<t_lc::type> _LCsGalileo;
57};
58
59}
60
61#endif
Note: See TracBrowser for help on using the repository browser.