Changeset 393 in ntrip
- Timestamp:
- Feb 3, 2007, 7:40:15 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnc.pro
r306 r393 1 1 2 CONFIG += release 2 ###CONFIG += release 3 CONFIG += debug 3 4 4 5 DEFINES += NO_RTCM3_MAIN -
trunk/BNC/bnccaster.cpp
r392 r393 103 103 // Start dump epoch loop 104 104 // --------------------- 105 _newObsRunning = false; 105 106 _newTime = 0; 106 107 dumpEpochSlot(); … … 146 147 147 148 QMutexLocker locker(&_mutex); 149 _newObsRunning = true; 148 150 149 151 long iSec = long(floor(obs->GPSWeeks+0.5)); … … 193 195 // -------------------- 194 196 _epochs->insert(_newTime, obs); 197 198 _newObsRunning = false; 195 199 } 196 200 … … 198 202 //////////////////////////////////////////////////////////////////////////// 199 203 void bncCaster::dumpEpochSlot() { 200 QMutexLocker locker(&_mutex); 201 if (_newTime != 0 && _epochs->size() > 0) { 202 dumpEpochs(_lastDumpSec + 1, _newTime - _waitTime); 203 204 if (_lastDumpSec < _newTime - _waitTime) { 205 _lastDumpSec = _newTime - _waitTime; 204 if (!_newObsRunning) { 205 if (_newTime != 0 && _epochs->size() > 0) { 206 dumpEpochs(_lastDumpSec + 1, _newTime - _waitTime); 207 208 if (_lastDumpSec < _newTime - _waitTime) { 209 _lastDumpSec = _newTime - _waitTime; 210 } 206 211 } 207 212 } -
trunk/BNC/bnccaster.h
r392 r393 76 76 QMutex _mutex; 77 77 long _newTime; 78 bool _newObsRunning; 78 79 }; 79 80
Note:
See TracChangeset
for help on using the changeset viewer.