Changeset 6066 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 7, 2014, 10:02:23 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/bncpppclient.h
r6065 r6066 35 35 class bncModel; 36 36 class t_pppOptions; 37 class t_satData; 38 class t_epoData; 39 40 class bncPPPclient : public bncEphUser { 41 public: 42 bncPPPclient(QByteArray staID, t_pppOptions* opt); 43 ~bncPPPclient(); 44 void putNewObs(const t_obs& pp); 45 void putNewCorrections(QList<QString> corrList); 46 QByteArray staID() const {return _staID;} 47 const t_pppOptions* opt() const {return _opt;} 48 49 private: 50 class slipInfo { 51 public: 52 slipInfo() { 53 slipCntL1 = -1; 54 slipCntL2 = -1; 55 slipCntL5 = -1; 56 } 57 ~slipInfo(){} 58 int slipCntL1; 59 int slipCntL2; 60 int slipCntL5; 61 }; 62 63 t_irc getSatPos(const bncTime& tt, const QString& prn, ColumnVector& xc, ColumnVector& vv); 64 void processEpochs(); 65 void processFrontEpoch(); 66 t_irc cmpToT(t_satData* satData); 67 static t_irc applyCorr(const bncTime& tt, const t_corr* cc, ColumnVector& xc, ColumnVector& vv); 68 69 const t_pppOptions* _opt; 70 QByteArray _staID; 71 QMap<QString, t_corr*> _corr; 72 bncTime _corr_tt; 73 QMap<QString, t_bias*> _bias; 74 std::queue<t_epoData*> _epoData; 75 bncModel* _model; 76 QMap<QString, slipInfo> _slips; 77 }; 37 78 38 79 class t_satData { … … 116 157 }; 117 158 118 class bncPPPclient : public bncEphUser {119 public:120 bncPPPclient(QByteArray staID, t_pppOptions* opt);121 ~bncPPPclient();122 void putNewObs(const t_obs& pp);123 void putNewCorrections(QList<QString> corrList);124 125 QByteArray staID() const {return _staID;}126 const t_pppOptions* opt() const {return _opt;}127 128 static t_irc applyCorr(const bncTime& tt, const t_corr* cc, ColumnVector& xc, ColumnVector& vv);129 130 131 private:132 class slipInfo {133 public:134 slipInfo() {135 slipCntL1 = -1;136 slipCntL2 = -1;137 slipCntL5 = -1;138 }139 ~slipInfo(){}140 int slipCntL1;141 int slipCntL2;142 int slipCntL5;143 };144 145 t_irc getSatPos(const bncTime& tt, const QString& prn,146 ColumnVector& xc, ColumnVector& vv);147 void processEpochs();148 void processFrontEpoch();149 t_irc cmpToT(t_satData* satData);150 151 const t_pppOptions* _opt;152 QByteArray _staID;153 QMap<QString, t_corr*> _corr;154 bncTime _corr_tt;155 QMap<QString, t_bias*> _bias;156 std::queue<t_epoData*> _epoData;157 bncModel* _model;158 QMap<QString, slipInfo> _slips;159 };160 161 159 } 162 160
Note:
See TracChangeset
for help on using the changeset viewer.