#ifndef OPTIONS_H #define OPTIONS_H #include #include #include #include "pppInclude.h" namespace BNC_PPP { class t_pppOptions { public: enum e_type {IF, UncombPPP, PPPRTK, DCMcodeBias, DCMphaseBias}; t_pppOptions(); ~t_pppOptions(); std::vector systems() const; const std::vector& LCs(char system) const; std::vector ambLCs(char system) const; std::vector codeLCs(char system) const; std::vector ionoLCs(char system) const; bool useSystem(char system) const {return LCs(system).size() > 0;} bool useOrbClkCorr() const; bool estTrp() const {return _aprSigTrp > 0.0 || _noiseTrp > 0.0;} bool xyzAprRoverSet() const { return (_xyzAprRover[0] != 0.0 || _xyzAprRover[1] != 0.0 || _xyzAprRover[2] != 0.0); } e_type _obsModelType; QStringList _obsmodelTypeStr = QStringList() << "IF PPP" << "Uncombined PPP" << "PPP-RTK" << "DCM with Code Biases" << "DCM with Phase Biases"; bool _realTime; std::string _crdFile; std::string _corrMount; bool _isAPC; std::string _rinexObs; std::string _rinexNav; std::string _corrFile; double _corrWaitTime; std::string _roverName; ColumnVector _xyzAprRover; ColumnVector _neuEccRover; std::string _recNameRover; std::string _antNameRover; std::string _antexFileName; std::string _blqFileName; double _sigmaC1; double _sigmaL1; double _sigmaGIM; double _sigmaTz0; double _maxResC1; double _maxResL1; bool _eleWgtCode; bool _eleWgtPhase; double _minEle; int _minObs; ColumnVector _aprSigCrd; ColumnVector _noiseCrd; double _aprSigClk; double _aprSigOGR; double _aprSigOGE; double _aprSigOGC; double _aprSigTrp; double _noiseTrp; double _noiseIon; double _aprSigIon; double _aprSigCodeBias; double _aprSigPhaseBias; int _nmeaPort; double _aprSigAmb; double _seedingTime; std::vector _LCsGPS; std::vector _LCsGLONASS; std::vector _LCsGalileo; std::vector _LCsBDS; bool _pseudoObsIono; bool _pseudoObsTropo; bool _refSatRequired; }; } #endif