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

Last change on this file since 10318 was 10256, checked in by stuerze, 12 months ago

changes regarding PPP

File size: 2.9 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:
[10251]13 enum iono_type {est,PPP_RTK};
[5810]14 t_pppOptions();
15 ~t_pppOptions();
[5742]16
[6035]17 std::vector<char> systems() const;
[5912]18 const std::vector<t_lc::type>& LCs(char system) const;
[10251]19 const std::vector<char>& frqBands(char system) const;
[6035]20 std::vector<t_lc::type> ambLCs(char system) const;
[7048]21 std::vector<t_lc::type> codeLCs(char system) const;
[8905]22 std::vector<t_lc::type> ionoLCs(char system) const;
[6035]23 bool useSystem(char system) const {return LCs(system).size() > 0;}
[5912]24 bool useOrbClkCorr() const;
25 bool estTrp() const {return _aprSigTrp > 0.0 || _noiseTrp > 0.0;}
26 bool xyzAprRoverSet() const {
27 return (_xyzAprRover[0] != 0.0 || _xyzAprRover[1] != 0.0 || _xyzAprRover[2] != 0.0);
28 }
[5708]29
[10251]30 iono_type _ionoModelType;
[5912]31 bool _realTime;
32 std::string _crdFile;
33 std::string _corrMount;
[9599]34 std::string _ionoMount;
[9481]35 bool _isAPC;
[5912]36 std::string _rinexObs;
37 std::string _rinexNav;
38 std::string _corrFile;
[9599]39 std::string _ionoFile;
[5913]40 double _corrWaitTime;
[7521]41 std::string _roverName;
[5912]42 ColumnVector _xyzAprRover;
43 ColumnVector _neuEccRover;
[7521]44 std::string _recNameRover;
45 std::string _antNameRover;
46 std::string _antexFileName;
[7961]47 std::string _blqFileName;
[5912]48 double _sigmaC1;
49 double _sigmaL1;
[9302]50 double _sigmaGIM;
[5912]51 double _maxResC1;
52 double _maxResL1;
[9552]53 double _maxResGIM;
[5912]54 bool _eleWgtCode;
55 bool _eleWgtPhase;
56 double _minEle;
57 int _minObs;
58 ColumnVector _aprSigCrd;
[9302]59 double _aprSigClk;
[10256]60 double _aprSigClkOff;
[9486]61 double _aprSigTrp;
62 double _aprSigIon;
63 double _aprSigAmb;
64 double _aprSigCodeBias;
65 double _aprSigPhaseBias;
66 ColumnVector _noiseCrd;
[5912]67 double _noiseTrp;
[9439]68 double _noiseIon;
[9486]69 double _noiseCodeBias;
70 double _noisePhaseBias;
[6965]71 int _nmeaPort;
[9866]72 std::string _signalPriorities;
[5957]73 double _seedingTime;
[5912]74 std::vector<t_lc::type> _LCsGPS;
75 std::vector<t_lc::type> _LCsGLONASS;
76 std::vector<t_lc::type> _LCsGalileo;
[6965]77 std::vector<t_lc::type> _LCsBDS;
[10251]78 std::vector<char> _frqBandsGPS;
79 std::vector<char> _frqBandsGLONASS;
80 std::vector<char> _frqBandsGalileo;
81 std::vector<char> _frqBandsBDS;
[8905]82 bool _pseudoObsIono;
83 bool _refSatRequired;
[5708]84};
85
86}
87
88#endif
Note: See TracBrowser for help on using the repository browser.