Changeset 11179 in ntrip for trunk/BNC/src/upload


Ignore:
Timestamp:
Nov 6, 2026, 4:05:20 PM (4 days ago)
Author:
stuerze
Message:

structuered logging is added and bug is fixed in SP3 file writing

Location:
trunk/BNC/src/upload
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetdecoder.cpp

    r11024 r11179  
    8888bncRtnetDecoder::~bncRtnetDecoder() {
    8989  for (int ic = 0; ic < _casters.size(); ic++) {
     90    _casters[ic]->closeFiles();
    9091    _casters[ic]->deleteSafely();
    9192  }
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r11140 r11179  
    287287    delete _usedEph;
    288288    delete _ssrCorr;
     289}
     290
     291// Close the SP3, clock RINEX and Bias-SINEX files: done here, since the
     292// destructor may run only after the end of the event loop (deleteLater),
     293// i.e. not at all at the end of BNC
     294////////////////////////////////////////////////////////////////////////////
     295void bncRtnetUploadCaster::closeFiles() {
     296  QMutexLocker locker(&_mutex);
     297  delete _rnx; _rnx = 0;
     298  delete _sp3; _sp3 = 0;
     299  delete _bsx; _bsx = 0;
    289300}
    290301
  • trunk/BNC/src/upload/bncrtnetuploadcaster.h

    r11058 r11179  
    3333        int PID, int SID, int IOD, int iRow);
    3434    void decodeRtnetStream(char* buffer, int bufLen);
     35    void closeFiles();
    3536protected:
    3637    virtual ~bncRtnetUploadCaster();
Note: See TracChangeset for help on using the changeset viewer.