Changeset 11086 in ntrip


Ignore:
Timestamp:
Oct 14, 2026, 12:39:23 PM (3 hours ago)
Author:
stuerze
Message:

cleanup bnc combination class

Location:
trunk/BNC/src/combination
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r11083 r11086  
    203203  }
    204204
    205   QString ssrFormat;
    206   _ssrCorr = 0;
    207   QListIterator<QString> it(settings.value("uploadMountpointsOut").toStringList());
    208   while (it.hasNext()) {
    209     QStringList hlp = it.next().split(",");
    210     if (hlp.size() > 7) {
    211       ssrFormat = hlp[7];
    212     }
    213   }
    214   if      (ssrFormat == "IGS-SSR") {
    215     _ssrCorr = new SsrCorrIgs();
    216   }
    217   else if (ssrFormat == "RTCM-SSR") {
    218     _ssrCorr = new SsrCorrRtcm();
    219   }
    220   else if (ssrFormat == "RTCM-NEW-SSR") {
    221     _ssrCorr = new SsrCorrRtcmNew();
    222   }
    223   else { // default
    224     _ssrCorr = new SsrCorrIgs();
    225   }
    226 
    227205  _rtnetDecoder = new bncRtnetDecoder();
    228206
    … …  
    394372
    395373  delete _rtnetDecoder;
    396 
    397   if (_ssrCorr) {
    398     delete _ssrCorr;
    399   }
    400374
    401375  if (_newCorr) {
  • trunk/BNC/src/combination/bnccomb.h

    r11079 r11086  
    1818#include "bncconst.h"
    1919#include "bncoutf.h"
    20 #include "../RTCM3/clock_and_orbit/clock_orbit_rtcm.h"
    21 #include "../RTCM3/clock_and_orbit/clock_orbit_rtcm_new.h"
    22 #include "../RTCM3/clock_and_orbit/clock_orbit_igs.h"
    2320
    2421class bncRtnetDecoder;
    … …  
    315312  QMap<char, unsigned>                       _cmbSysPrn;
    316313  bncEphUser                                 _ephUser;
    317   SsrCorr*                                   _ssrCorr;
    318314  QString                                    _cmbRefAttributes;
    319315  bool                                       _useGps;
Note: See TracChangeset for help on using the changeset viewer.