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

Last change on this file since 6462 was 6050, checked in by mervart, 10 years ago
File size: 1.8 KB
RevLine 
[5708]1#ifndef OPTIONS_H
2#define OPTIONS_H
3
4#include <string>
5#include <vector>
6#include <newmat.h>
[5810]7#include "pppInclude.h"
[5708]8
[5814]9namespace BNC_PPP {
[5708]10
[5810]11class t_pppOptions {
[5708]12 public:
[5810]13 t_pppOptions();
14 ~t_pppOptions();
[5742]15
[6035]16 std::vector<char> systems() const;
[5912]17 const std::vector<t_lc::type>& LCs(char system) const;
[6035]18 std::vector<t_lc::type> ambLCs(char system) const;
19 bool useSystem(char system) const {return LCs(system).size() > 0;}
[5912]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 }
[5708]25
[5912]26 bool _realTime;
27 std::string _crdFile;
28 std::string _corrMount;
29 std::string _rinexObs;
30 std::string _rinexNav;
31 std::string _corrFile;
[5913]32 double _corrWaitTime;
[5912]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;
[5957]52 double _seedingTime;
[5912]53 std::vector<t_lc::type> _LCsGPS;
54 std::vector<t_lc::type> _LCsGLONASS;
55 std::vector<t_lc::type> _LCsGalileo;
[5708]56};
57
58}
59
60#endif
Note: See TracBrowser for help on using the repository browser.