Changeset 2332 in ntrip for trunk/BNS


Ignore:
Timestamp:
Feb 24, 2010, 5:11:39 PM (14 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r2327 r2332  
    8282  // Socket and file for outputting the results
    8383  // -------------------------------------------
    84   for (int ic = 1; ic <= 3; ic++) {
     84  for (int ic = 1; ic <= 6; ic++) {
    8585    QString mountpoint  = settings.value(QString("mountpoint_%1").arg(ic)).toString();
    8686    QString outFileName = settings.value(QString("outFile_%1").arg(ic)).toString();
     
    519519            if (_caster.at(ic)->ic() == 2) { emit(newOutBytes2(len));}
    520520            if (_caster.at(ic)->ic() == 3) { emit(newOutBytes3(len));}
     521            if (_caster.at(ic)->ic() == 4) { emit(newOutBytes4(len));}
     522            if (_caster.at(ic)->ic() == 5) { emit(newOutBytes5(len));}
     523            if (_caster.at(ic)->ic() == 6) { emit(newOutBytes6(len));}
    521524            _caster.at(ic)->write(obuffer, len);
    522525          }
  • trunk/BNS/bns.h

    r2046 r2332  
    4646  void newOutBytes2(int nBytes);
    4747  void newOutBytes3(int nBytes);
     48  void newOutBytes4(int nBytes);
     49  void newOutBytes5(int nBytes);
     50  void newOutBytes6(int nBytes);
    4851  void newOutEphBytes(int nBytes);
    4952  void newMessage(const QByteArray msg);
  • trunk/BNS/bnswindow.cpp

    r2327 r2332  
    11321132  connect(_bns, SIGNAL(newOutBytes2(int)), this, SLOT(slotOutBytes2(int)));
    11331133  connect(_bns, SIGNAL(newOutBytes3(int)), this, SLOT(slotOutBytes3(int)));
     1134  connect(_bns, SIGNAL(newOutBytes4(int)), this, SLOT(slotOutBytes4(int)));
     1135  connect(_bns, SIGNAL(newOutBytes5(int)), this, SLOT(slotOutBytes5(int)));
     1136  connect(_bns, SIGNAL(newOutBytes6(int)), this, SLOT(slotOutBytes6(int)));
    11341137  connect(_bns, SIGNAL(newOutEphBytes(int)), this, SLOT(slotOutEphBytes(int)));
    11351138
     
    11541157  updateStatus(4, nBytes);
    11551158}
     1159void bnsWindow::slotOutBytes4(int nBytes) {
     1160  updateStatus(5, nBytes);
     1161}
     1162void bnsWindow::slotOutBytes5(int nBytes) {
     1163  updateStatus(6, nBytes);
     1164}
     1165void bnsWindow::slotOutBytes6(int nBytes) {
     1166  updateStatus(7, nBytes);
     1167}
    11561168void bnsWindow::slotOutEphBytes(int nBytes) {
    1157   updateStatus(5, nBytes);
     1169  updateStatus(8, nBytes);
    11581170}
    11591171
  • trunk/BNS/bnswindow.h

    r2327 r2332  
    5050  void slotOutBytes2(int nBytes);
    5151  void slotOutBytes3(int nBytes);
     52  void slotOutBytes4(int nBytes);
     53  void slotOutBytes5(int nBytes);
     54  void slotOutBytes6(int nBytes);
    5255  void slotOutEphBytes(int nBytes);
    5356
Note: See TracChangeset for help on using the changeset viewer.