Changeset 10229 in ntrip for trunk/BNC/src/combination/bnccomb.cpp
- Timestamp:
- Oct 26, 2023, 1:32:14 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r10227 r10229 340 340 _buffer.remove(sys); 341 341 } 342 _params.clear(); 343 _buffer.clear(); 342 344 _cmbSysPrn.clear(); 343 345 … … 346 348 _epoClkData.pop_front(); 347 349 } 348 349 350 } 350 351 … … 377 378 void bncComb::slotNewOrbCorrections(QList<t_orbCorr> orbCorrections) { 378 379 QMutexLocker locker(&_mutex); 379 380 380 for (int ii = 0; ii < orbCorrections.size(); ii++) { 381 381 t_orbCorr& orbCorr = orbCorrections[ii]; … … 443 443 storage[satCodeBias._prn] = satCodeBias; 444 444 } 445 445 446 } 446 447 … … 655 656 // Create new correction 656 657 // --------------------- 657 _newCorr = new cmbCorr();658 _newCorr = new cmbCorr(); 658 659 _newCorr->_prn = prn; 659 660 _newCorr->_time = clkCorr._time; … … 756 757 // -------------------------------- 757 758 QVector<cmbCorr*>& corrs = _buffer[sys].corrs; 758 759 759 QVectorIterator<cmbCorr*> itCorr(corrs); 760 760 bool available = false; … … 763 763 QString prn = corr->_prn; 764 764 QString acName = corr->_acName; 765 if (_newCorr->_acName == acName && _newCorr->_prn == prn) { 765 if (_newCorr->_acName == acName && 766 _newCorr->_prn == prn) { 766 767 available = true; 767 768 } … … 861 862 irc = processEpoch_singleEpoch(epoTime, sys, out, resCorr, dx); 862 863 } 863 864 864 865 // Update Parameter Values, Print Results 865 866 // -------------------------------------- … … 895 896 dumpResults(epoTime, resCorr); 896 897 } 897 898 898 } 899 899 … … 1022 1022 // Send results to RTNet Decoder and directly to PPP Client 1023 1023 //////////////////////////////////////////////////////////////////////////// 1024 void bncComb::dumpResults(bncTime epoTime, constQMap<QString, cmbCorr*>& resCorr) {1024 void bncComb::dumpResults(bncTime epoTime, QMap<QString, cmbCorr*>& resCorr) { 1025 1025 1026 1026 QList<t_orbCorr> orbCorrections; … … 1036 1036 year, month, day, hour, minute, sec); 1037 1037 1038 QM apIterator<QString, cmbCorr*> it(resCorr);1038 QMutableMapIterator<QString, cmbCorr*> it(resCorr); 1039 1039 while (it.hasNext()) { 1040 1040 it.next(); … … 1060 1060 if (corr->_eph->getCrd(epoTime, xc, vv, true) != success) { 1061 1061 delete corr; 1062 it.remove(); 1062 1063 continue; 1063 1064 } … … 1127 1128 outLines += "\n"; 1128 1129 delete corr; 1130 it.remove(); 1129 1131 } 1130 1132
Note:
See TracChangeset
for help on using the changeset viewer.