Changeset 624 in ntrip
- Timestamp:
- Dec 16, 2007, 4:53:14 PM (17 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r623 r624 76 76 } 77 77 78 ~t_obs() {79 if (_status == posted) {80 return;81 }82 }83 84 78 t_obsInternal _o; 85 79 t_obs_status _status; … … 95 89 QListIterator<p_obs> it(_obsList); 96 90 while (it.hasNext()) { 97 delete it.next(); 91 p_obs obs = it.next(); 92 if (obs->_status == t_obs::initial) { 93 delete obs; 94 } 98 95 } 99 96 } -
trunk/BNC/bnccaster.cpp
r622 r624 122 122 123 123 QMutexLocker locker(&_mutex); 124 125 obs->_status = t_obs::received; 124 126 125 127 long iSec = long(floor(obs->_o.GPSWeeks+0.5)); … … 173 175 //////////////////////////////////////////////////////////////////////////// 174 176 void bncCaster::addGetThread(bncGetThread* getThread) { 177 178 qRegisterMetaType<p_obs>("p_obs"); 179 175 180 connect(getThread, SIGNAL(newObs(const QByteArray, bool, p_obs)), 176 181 this, SLOT(newObs(const QByteArray, bool, p_obs))); -
trunk/BNC/bncgetthread.cpp
r622 r624 444 444 445 445 bool firstObs = (obs == _decoder->_obsList.first()); 446 obs->_status = t_obs::posted; 446 447 emit newObs(_staID, firstObs, obs); 447 448 } -
trunk/BNC/bncmain.cpp
r621 r624 117 117 118 118 //// beg test 119 QTimer::singleShot(30000, &app, SLOT(slotQuit()));119 //// QTimer::singleShot(30000, &app, SLOT(slotQuit())); 120 120 //// end test 121 121
Note:
See TracChangeset
for help on using the changeset viewer.