Changeset 459 in ntrip
- Timestamp:
- May 11, 2007, 5:41:20 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r444 r459 402 402 } 403 403 404 emit new Obs(_staID, *it);404 emit newBytes(_staID, sizeof(**it)); 405 405 bool firstObs = (it == _decoder->_obsList.begin()); 406 406 _global_caster->newObs(_staID, firstObs, *it); -
trunk/BNC/bncgetthread.h
r458 r459 52 52 53 53 signals: 54 void new Obs(const QByteArray& staID, Observation* obs);54 void newBytes(const QByteArray staID, double nbyte); 55 55 void error(const QByteArray staID); 56 56 void newMessage(const QByteArray msg); -
trunk/BNC/bnctableitem.cpp
r387 r459 57 57 // 58 58 //////////////////////////////////////////////////////////////////////////// 59 void bncTableItem::slotNew Obs(const QByteArray&, Observation* obs) {59 void bncTableItem::slotNewBytes(const QByteArray, double nbyte) { 60 60 61 61 QMutexLocker locker(&_mutex); 62 62 63 _bytesRead += sizeof(*obs);63 _bytesRead += nbyte; 64 64 65 65 if (_bytesRead < 1e3) { -
trunk/BNC/bnctableitem.h
r387 r459 42 42 43 43 public slots: 44 void slotNew Obs(const QByteArray& staID, Observation* obs);44 void slotNewBytes(const QByteArray staID, double nbyte); 45 45 46 46 private: -
trunk/BNC/bncwindow.cpp
r458 r459 505 505 (bncApp*)qApp, SLOT(slotMessage(const QByteArray&))); 506 506 507 connect(getThread, SIGNAL(new Obs(const QByteArray&, Observation*)),507 connect(getThread, SIGNAL(newBytes(const QByteArray, double)), 508 508 (bncTableItem*) _mountPointsTable->item(iRow, 6), 509 SLOT(slot NewObs(const QByteArray&, Observation*)));509 SLOT(slotBytes(const QByteArray, double))); 510 510 511 511 _global_caster->addGetThread(getThread);
Note:
See TracChangeset
for help on using the changeset viewer.