Ignore:
Timestamp:
Oct 22, 2026, 4:01:29 PM (9 days ago)
Author:
stuerze
Message:

test suite updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp

    r11097 r11115  
    855855
    856856// 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.
    858861////////////////////////////////////////////////////////////////////////////
    859862void RTCM3coDecoder::dumpEpochs(bool all) {
     863  QList<QList<t_clkCorr> > clkToEmit;
    860864  QMutableMapIterator<bncTime, QList<t_orbCorr> > itOrb(_orbCorrections);
    861865  while (itOrb.hasNext()) {
    … …  
    871875    itClk.next();
    872876    if (all || itClk.key() < _lastTime) {
    873       emit newClkCorrections(itClk.value());
     877      clkToEmit << itClk.value();
    874878      t_clkCorr::writeEpoch(_out, itClk.value());
    875879      itClk.remove();
    … …  
    893897      itPB.remove();
    894898    }
     899  }
     900  for (const QList<t_clkCorr>& clkCorr : clkToEmit) {
     901    emit newClkCorrections(clkCorr);
    895902  }
    896903  QMutableMapIterator<bncTime, t_vTec> itTec(_vTecMap);
Note: See TracChangeset for help on using the changeset viewer.