Changeset 2385 in ntrip
- Timestamp:
- Mar 26, 2010, 11:26:46 AM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r2257 r2385 61 61 _logStream = 0; 62 62 _caster = 0; 63 _rawOutFile = 0; 63 64 64 65 // Lists of Ephemeris … … 128 129 129 130 delete _currentDateAndTimeGPS; 131 132 delete _rawOutFile; 130 133 } 131 134 … … 703 706 } 704 707 } 708 709 // Raw Output 710 //////////////////////////////////////////////////////////////////////////// 711 void bncApp::writeRawData(const QByteArray& data) { 712 713 //// QMutexLocker locker(&_mutex); 714 //// 715 //// if (!_rawOutFile) { 716 //// QByteArray rawOutFileName = "./bnc.raw"; 717 //// _rawOutFile = new QFile(rawOutFileName); 718 //// _rawOutFile->open(QIODevice::WriteOnly); 719 //// } 720 //// 721 //// _rawOutFile->write(data); 722 //// _rawOutFile->flush(); 723 } -
trunk/BNC/bncapp.h
r2181 r2385 44 44 void setConfFileName(const QString& confFileName); 45 45 QString confFileName() const {return _confFileName;} 46 void writeRawData(const QByteArray& data); 46 47 47 48 public slots: … … 73 74 74 75 QFile* _logFile; 76 QFile* _rawOutFile; 75 77 QTextStream* _logStream; 76 78 int _logFileFlag; -
trunk/BNC/bncgetthread.cpp
r2356 r2385 122 122 _query = 0; 123 123 _nextSleep = 0; 124 _rawOutFile = 0;125 124 _PPPclient = 0; 126 125 … … 277 276 } 278 277 } 279 280 // Raw Output281 // ----------282 // QByteArray rawOutFileName = "./" + _staID + ".raw";283 // _rawOutFile = new QFile(rawOutFileName);284 // _rawOutFile->open(QIODevice::WriteOnly);285 278 286 279 // Initialize PPP Client? … … 347 340 delete _rnx; 348 341 delete _rawInpFile; 349 delete _rawOutFile;350 342 delete _serialOutFile; 351 343 delete _serialPort; … … 418 410 // Output Data 419 411 // ----------- 420 if (_rawOutFile) { 421 _rawOutFile->write(data); 422 _rawOutFile->flush(); 423 } 412 bncApp* app = (bncApp*) qApp; 413 app->writeRawData(data); 414 424 415 if (_serialPort) { 425 416 slotSerialReadyRead(); -
trunk/BNC/bncgetthread.h
r2356 r2385 117 117 int _samplingRate; 118 118 bncRinex* _rnx; 119 QFile* _rawOutFile;120 119 QFile* _rawInpFile; 121 120 QextSerialPort* _serialPort;
Note:
See TracChangeset
for help on using the changeset viewer.