Changeset 11137 in ntrip for trunk/BNC/src/bncephuser.cpp
- Timestamp:
- Oct 28, 2026, 9:48:01 PM (10 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/bncephuser.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncephuser.cpp
r11057 r11137 48 48 // Constructor 49 49 //////////////////////////////////////////////////////////////////////////// 50 bncEphUser::bncEphUser(bool connectSlots) { 50 bncEphUser::bncEphUser(bool connectSlots, unsigned maxQueueSize) : _maxQueueSize(maxQueueSize) { 51 51 if (connectSlots) { 52 52 connect(BNC_CORE, SIGNAL(newGPSEph(t_ephGPS)), … … 148 148 149 149 QString prn(newEph->prn().toInternalString().c_str()); 150 151 // data set received before, e.g. from a slower stream after a newer one 152 if (_eph.contains(prn)) { 153 const deque<t_eph*>& qq = _eph[prn]; 154 for (unsigned ii = 0; ii < qq.size(); ii++) { 155 if (qq[ii]->sameDataSet(eph)) { 156 delete newEph; 157 return failure; 158 } 159 } 160 } 150 161 151 162 const t_eph* ephOld = ephLast(prn); … … 224 235 if (eph->isUnhealthy()) { 225 236 eph->setCheckState(t_eph::unhealthy); 237 return; 238 } 239 240 // GPS/QZSS: IODE and IODC of the same upload 241 // ------------------------------------------- 242 const t_ephGPS* ephGPS = dynamic_cast<const t_ephGPS*>(eph); 243 if (ephGPS && !ephGPS->iodeIodcConsistent()) { 244 eph->setCheckState(t_eph::bad); 226 245 return; 227 246 }
Note:
See TracChangeset
for help on using the changeset viewer.
