Changeset 3187 in ntrip


Ignore:
Timestamp:
Mar 29, 2011, 9:05:21 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/upload
Files:
4 edited

Legend:

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

    r3186 r3187  
    5454  // List of upload casters
    5555  // ----------------------
    56 
     56  QListIterator<QString> it(settings.value("uploadMountpointsOut").toStringList());
     57  while (it.hasNext()) {
     58    QStringList hlp = it.next().split(",");
     59    if (hlp.size() > 6) {
     60      int  outPort = hlp[1].toInt();
     61      bool CoM     = (hlp[5].toInt() == Qt::Checked);
     62      _caster.push_back(new bncUploadCaster(hlp[2], hlp[0], outPort,
     63                                            hlp[3], hlp[4], CoM,
     64                                            hlp[6], "", ""));
     65    }
     66  }
    5767}
    5868
     
    6070////////////////////////////////////////////////////////////////////////
    6171bncRtnetDecoder::~bncRtnetDecoder() {
     72  for (int ic = 0; ic < _caster.size(); ic++) {
     73    delete _caster[ic];
     74  }
    6275}
    6376
     
    101114  if (lines.size() > 0) {
    102115    for (int ic = 0; ic < _caster.size(); ic++) {
    103       _caster.at(ic)->uploadClockOrbitBias(_epoTime, _eph, lines);
     116      _caster[ic]->uploadClockOrbitBias(_epoTime, _eph, lines);
    104117    }
    105118  }
  • trunk/BNC/upload/bncrtnetdecoder.h

    r3186 r3187  
    4040 private:
    4141  void readEpochTime(const QString& line);
    42   QList<bncUploadCaster*> _caster;
    43   QString                 _buffer;
    44   bncTime                 _epoTime;
     42  QVector<bncUploadCaster*> _caster;
     43  QString                   _buffer;
     44  bncTime                   _epoTime;
    4545};
    4646
  • trunk/BNC/upload/bncuploadcaster.cpp

    r3186 r3187  
    3131                                 const QString& password,
    3232                                 const QString& crdTrafo, bool  CoM,
     33                                 const QString& sp3FileName,
    3334                                 const QString& rnxFileName,
    34                                  const QString& sp3FileName,
    3535                                 const QString& outFileName) {
    3636
  • trunk/BNC/upload/bncuploadcaster.h

    r3186 r3187  
    1717                  const QString& password,
    1818                  const QString& crdTrafo, bool  CoM,
     19                  const QString& sp3FileName,
    1920                  const QString& rnxFileName,
    20                   const QString& sp3FileName,
    2121                  const QString& outFileName);
    2222  virtual ~bncUploadCaster();
Note: See TracChangeset for help on using the changeset viewer.