Changeset 1607 in ntrip
- Timestamp:
- Feb 18, 2009, 11:49:03 AM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1606 r1607 119 119 _nextSleep = 0; 120 120 _rawOutFile = 0; 121 _serialOutFile = 0; 121 122 _staID_orig = _staID; 122 123 … … 257 258 _serialOutFile->open(QIODevice::WriteOnly); 258 259 } 259 else {260 _serialOutFile = 0;261 }262 260 } 263 261 else { … … 318 316 delete _rawInpFile; 319 317 delete _rawOutFile; 318 delete _serialOutFile; 320 319 delete _serialPort; 321 320 delete _latencyChecker; … … 578 577 //////////////////////////////////////////////////////////////////////////// 579 578 void bncGetThread::slotSerialReadyRead() { 580 581 } 579 if (_serialPort) { 580 QByteArray data = _serialPort->readAll(); 581 if (_serialOutFile) { 582 _serialOutFile->write(data); 583 _serialOutFile->flush(); 584 } 585 } 586 } -
trunk/BNC/bncgetthread.h
r1595 r1607 74 74 virtual void run(); 75 75 76 private slots: 77 void slotSerialReadyRead(); 78 76 79 private: 77 80 void initialize(); … … 100 103 latencyChecker* _latencyChecker; 101 104 QString _miscMount; 105 QFile* _serialOutFile; 102 106 }; 103 107
Note:
See TracChangeset
for help on using the changeset viewer.