Changeset 11057 in ntrip for trunk/BNC/src/bnccore.h


Ignore:
Timestamp:
Sep 30, 2026, 11:30:26 AM (8 days ago)
Author:
stuerze
Message:

bug fixes resulting from overall tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccore.h

    r11039 r11057  
    4747  static t_bncCore* instance();
    4848  e_mode            mode() const {return _mode;}
     49  // Connection type for data signals (ephemerides, corrections) from a
     50  // decoder to this object, to be called in the thread the decoder emits
     51  // from. In batch post-processing (--file replay) the reading thread must
     52  // wait until the data are passed on, otherwise they reach the PPP in an
     53  // order depending on thread scheduling instead of the file order.
     54  Qt::ConnectionType decoderConnectionType() const {
     55    if (_mode == batchPostProcessing && QThread::currentThread() != thread()) {
     56      return Qt::BlockingQueuedConnection;
     57    }
     58    return Qt::AutoConnection;
     59  }
    4960  void              setGUIenabled(bool GUIenabled) {_GUIenabled = GUIenabled;}
    5061  void              setMode(e_mode mode) {_mode = mode;}
Note: See TracChangeset for help on using the changeset viewer.