Changeset 3233 in ntrip


Ignore:
Timestamp:
Apr 1, 2011, 1:58:39 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/upload
Files:
5 edited

Legend:

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

    r3225 r3233  
    5252  // List of upload casters
    5353  // ----------------------
     54  int iRow = -1;
    5455  QListIterator<QString> it(settings.value("uploadMountpointsOut").toStringList());
    5556  while (it.hasNext()) {
    5657    QStringList hlp = it.next().split(",");
    5758    if (hlp.size() > 6) {
     59      ++iRow;
    5860      int  outPort = hlp[1].toInt();
    5961      bool CoM     = (hlp[5].toInt() == Qt::Checked);
     
    6163                                                       hlp[2], hlp[0], outPort,
    6264                                                       hlp[3], hlp[4], CoM,
    63                                                        hlp[6], hlp[7], "");
     65                                                       hlp[6], hlp[7], "", iRow);
    6466      newCaster->start();
    6567      _casters.push_back(newCaster);
  • trunk/BNC/upload/bncrtnetuploadcaster.cpp

    r3230 r3233  
    3232                                 const QString& sp3FileName,
    3333                                 const QString& rnxFileName,
    34                                  const QString& outFileName) :
    35                       bncUploadCaster(mountpoint, outHost, outPort, password) {
     34                                 const QString& outFileName, int iRow) :
     35               bncUploadCaster(mountpoint, outHost, outPort, password, iRow) {
    3636
    3737  _crdTrafo   = crdTrafo;
  • trunk/BNC/upload/bncrtnetuploadcaster.h

    r3229 r3233  
    2424                  const QString& sp3FileName,
    2525                  const QString& rnxFileName,
    26                   const QString& outFileName);
     26                  const QString& outFileName, int iRow);
    2727  void decodeRtnetStream(char* buffer, int bufLen);
    2828 protected:
  • trunk/BNC/upload/bncuploadcaster.cpp

    r3227 r3233  
    2626bncUploadCaster::bncUploadCaster(const QString& mountpoint,
    2727                                 const QString& outHost, int outPort,
    28                                  const QString& password) {
     28                                 const QString& password, int iRow) {
    2929
    3030  connect(this, SIGNAL(newMessage(QByteArray,bool)),
     
    3737  _outSocket     = 0;
    3838  _sOpenTrial    = 0;
     39  _iRow          = iRow;
    3940  _isToBeDeleted = false;
    4041}
  • trunk/BNC/upload/bncuploadcaster.h

    r3226 r3233  
    99  bncUploadCaster(const QString& mountpoint,
    1010                  const QString& outHost, int outPort,
    11                   const QString& password);
     11                  const QString& password, int iRow);
    1212  virtual void deleteSafely();
    1313
     
    3131  int         _sOpenTrial;
    3232  QDateTime   _outSocketOpenTime;
     33  int         _iRow;
    3334};
    3435
Note: See TracChangeset for help on using the changeset viewer.