source: ntrip/trunk/BNC/src/pppOptions.h@ 6899

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