Changeset 11115 in ntrip for trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Oct 22, 2026, 4:01:29 PM (9 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r11097 r11115 855 855 856 856 // Emit and write the collected corrections of all epochs older than 857 // _lastTime (all epochs if all is set, e.g. at the end of a replay) 857 // _lastTime (all epochs if all is set, e.g. at the end of a replay). 858 // The clock corrections of an epoch are emitted last, so that a consumer 859 // (e.g. the combination) has all corrections and biases of the epoch when 860 // its clocks arrive; the order in the SSR file is unchanged. 858 861 //////////////////////////////////////////////////////////////////////////// 859 862 void RTCM3coDecoder::dumpEpochs(bool all) { 863 QList<QList<t_clkCorr> > clkToEmit; 860 864 QMutableMapIterator<bncTime, QList<t_orbCorr> > itOrb(_orbCorrections); 861 865 while (itOrb.hasNext()) { … … 871 875 itClk.next(); 872 876 if (all || itClk.key() < _lastTime) { 873 emit newClkCorrections(itClk.value());877 clkToEmit << itClk.value(); 874 878 t_clkCorr::writeEpoch(_out, itClk.value()); 875 879 itClk.remove(); … … 893 897 itPB.remove(); 894 898 } 899 } 900 for (const QList<t_clkCorr>& clkCorr : clkToEmit) { 901 emit newClkCorrections(clkCorr); 895 902 } 896 903 QMutableMapIterator<bncTime, t_vTec> itTec(_vTecMap);
Note:
See TracChangeset
for help on using the changeset viewer.
