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

Last change on this file since 7513 was 7048, checked in by stuerze, 9 years ago

a method for code LC determination is added

File size: 1.9 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 std::vector<t_lc::type> codeLCs(char system) const;
20 bool useSystem(char system) const {return LCs(system).size() > 0;}
21 bool useOrbClkCorr() const;
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 int _nmeaPort;
53 double _aprSigAmb;
54 double _seedingTime;
55 std::vector<t_lc::type> _LCsGPS;
56 std::vector<t_lc::type> _LCsGLONASS;
57 std::vector<t_lc::type> _LCsGalileo;
58 std::vector<t_lc::type> _LCsBDS;
59};
60
61}
62
63#endif
Note: See TracBrowser for help on using the repository browser.