Changeset 2986 in ntrip
- Timestamp:
- Feb 8, 2011, 4:44:06 PM (14 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r2936 r2986 171 171 } 172 172 173 // Check the IOD 174 //-------------- 175 if (_eph.find(newCorr->prn) == _eph.end()) { 176 delete newCorr; 177 return; 178 } 179 else { 180 t_eph* lastEph = _eph[newCorr->prn]->last; 181 t_eph* prevEph = _eph[newCorr->prn]->prev; 182 if (prevEph && prevEph->IOD() == newCorr->iod) { 183 switchToLastEph(lastEph, prevEph, newCorr); 184 } 185 else if (!lastEph || lastEph->IOD() != newCorr->iod) { 186 delete newCorr; 187 return; 188 } 189 } 190 173 191 // Process all older Epochs (if there are any) 174 192 // ------------------------------------------- … … 318 336 } 319 337 338 // Change the correction so that it refers to last received ephemeris 339 //////////////////////////////////////////////////////////////////////////// 340 void bncComb::switchToLastEph(const t_eph* lastEph, const t_eph* prevEph, 341 t_corr* newCorr) { 342 343 } 344 320 345 // Process Epochs 321 346 //////////////////////////////////////////////////////////////////////////// … … 419 444 cout << "Corrections processed" << endl << endl; 420 445 } 421 -
trunk/BNC/combination/bnccomb.h
r2934 r2986 74 74 void dumpResults(const bncTime& resTime, 75 75 const QMap<QString, t_corr*>& resCorr); 76 void switchToLastEph(const t_eph* lastEph, const t_eph* prevEph, 77 t_corr* newCorr); 76 78 77 79 QMap<QString, cmbAC*> _ACs; // Analytical Centers (key is mountpoint)
Note:
See TracChangeset
for help on using the changeset viewer.