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

Last change on this file since 7784 was 7521, checked in by stuerze, 9 years ago

minor changes to allow sinex troposphere file writing in version 2.0

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 _recNameRover;
38 std::string _antNameRover;
39 std::string _antexFileName;
40 double _sigmaC1;
41 double _sigmaL1;
42 double _maxResC1;
43 double _maxResL1;
44 bool _eleWgtCode;
45 bool _eleWgtPhase;
46 double _minEle;
47 int _minObs;
48 ColumnVector _aprSigCrd;
49 ColumnVector _noiseCrd;
50 double _noiseClk;
51 double _aprSigTrp;
52 double _noiseTrp;
53 int _nmeaPort;
54 double _aprSigAmb;
55 double _seedingTime;
56 std::vector<t_lc::type> _LCsGPS;
57 std::vector<t_lc::type> _LCsGLONASS;
58 std::vector<t_lc::type> _LCsGalileo;
59 std::vector<t_lc::type> _LCsBDS;
60};
61
62}
63
64#endif
Note: See TracBrowser for help on using the repository browser.