Changeset 459 in ntrip for trunk/BNC


Ignore:
Timestamp:
May 11, 2007, 5:41:20 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r444 r459  
    402402          }
    403403
    404           emit newObs(_staID, *it);
     404          emit newBytes(_staID, sizeof(**it));
    405405          bool firstObs = (it == _decoder->_obsList.begin());
    406406          _global_caster->newObs(_staID, firstObs, *it);
  • trunk/BNC/bncgetthread.h

    r458 r459  
    5252
    5353 signals:
    54    void newObs(const QByteArray& staID, Observation* obs);
     54   void newBytes(const QByteArray staID, double nbyte);
    5555   void error(const QByteArray staID);
    5656   void newMessage(const QByteArray msg);
  • trunk/BNC/bnctableitem.cpp

    r387 r459  
    5757//
    5858////////////////////////////////////////////////////////////////////////////
    59 void bncTableItem::slotNewObs(const QByteArray&, Observation* obs) {
     59void bncTableItem::slotNewBytes(const QByteArray, double nbyte) {
    6060
    6161  QMutexLocker locker(&_mutex);
    6262
    63   _bytesRead += sizeof(*obs);
     63  _bytesRead += nbyte;
    6464
    6565  if      (_bytesRead < 1e3) {
  • trunk/BNC/bnctableitem.h

    r387 r459  
    4242 
    4343  public slots:
    44     void slotNewObs(const QByteArray& staID, Observation* obs);
     44    void slotNewBytes(const QByteArray staID, double nbyte);
    4545
    4646  private:
  • trunk/BNC/bncwindow.cpp

    r458 r459  
    505505            (bncApp*)qApp, SLOT(slotMessage(const QByteArray&)));
    506506
    507     connect(getThread, SIGNAL(newObs(const QByteArray&, Observation*)),
     507    connect(getThread, SIGNAL(newBytes(const QByteArray, double)),
    508508            (bncTableItem*) _mountPointsTable->item(iRow, 6),
    509             SLOT(slotNewObs(const QByteArray&, Observation*)));
     509            SLOT(slotBytes(const QByteArray, double)));
    510510
    511511    _global_caster->addGetThread(getThread);
Note: See TracChangeset for help on using the changeset viewer.