Changeset 11136 in ntrip for trunk/BNC/src/pppRun.cpp
- Timestamp:
- Oct 28, 2026, 4:23:04 PM (9 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/pppRun.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppRun.cpp
r11047 r11136 82 82 83 83 if (_opt->_realTime) { 84 _ephMounts = QString::fromStdString(_opt->_ephMount).split(QRegularExpression("[,\\s]+"), 85 Qt::SkipEmptyParts); 86 if (!_ephMounts.isEmpty()) { 87 emit newMessage(QByteArray(_opt->_roverName.c_str()) + ": PPP uses the ephemerides of " 88 + _ephMounts.join(", ").toLatin1() + " only", true); 89 } 90 84 91 Qt::ConnectionType conType = Qt::AutoConnection; 85 92 if (BNC_CORE->mode() == t_bncCore::batchPostProcessing) { … … 248 255 } 249 256 257 // Ephemeris from a stream selected for PPP (PPP/ephMount)? 258 //////////////////////////////////////////////////////////////////////////// 259 bool t_pppRun::useEph(const t_eph& eph) const { 260 return _ephMounts.isEmpty() || _ephMounts.contains(eph.receptStaID()); 261 } 262 250 263 // 251 264 //////////////////////////////////////////////////////////////////////////// 252 265 void t_pppRun::slotNewGPSEph(t_ephGPS eph) { 266 if (!useEph(eph)) { 267 return; 268 } 253 269 QMutexLocker locker(&_mutex); 254 270 _pppClient->putEphemeris(&eph); … … 258 274 //////////////////////////////////////////////////////////////////////////// 259 275 void t_pppRun::slotNewGlonassEph(t_ephGlo eph) { 276 if (!useEph(eph)) { 277 return; 278 } 260 279 QMutexLocker locker(&_mutex); 261 280 _pppClient->putEphemeris(&eph); … … 265 284 //////////////////////////////////////////////////////////////////////////// 266 285 void t_pppRun::slotNewGalileoEph(t_ephGal eph) { 286 if (!useEph(eph)) { 287 return; 288 } 267 289 QMutexLocker locker(&_mutex); 268 290 _pppClient->putEphemeris(&eph); … … 272 294 //////////////////////////////////////////////////////////////////////////// 273 295 void t_pppRun::slotNewBDSEph(t_ephBDS eph) { 296 if (!useEph(eph)) { 297 return; 298 } 274 299 QMutexLocker locker(&_mutex); 275 300 _pppClient->putEphemeris(&eph);
Note:
See TracChangeset
for help on using the changeset viewer.
