Changeset 11137 in ntrip for trunk/BNC/src/bncephuser.h
- Timestamp:
- Oct 28, 2026, 9:48:01 PM (16 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/bncephuser.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncephuser.h
r11047 r11137 46 46 47 47 public: 48 bncEphUser(bool connectSlots); 48 bncEphUser(bool connectSlots, unsigned maxQueueSize = 6); 49 49 virtual ~bncEphUser(); 50 50 … … 72 72 } 73 73 74 // latest data set of the satellite with this IOD 75 t_eph* ephWithIOD(const QString& prn, unsigned iod) { 76 if (_eph.contains(prn)) { 77 const std::deque<t_eph*>& qq = _eph[prn]; 78 for (int ii = int(qq.size()) - 1; ii >= 0; ii--) { 79 if (qq[ii]->IOD() == iod) { 80 return qq[ii]; 81 } 82 } 83 } 84 return 0; 85 } 86 74 87 const QList<QString> prnList() {return _eph.keys();} 75 88 … … 80 93 void checkEphemeris(t_eph* eph, bool realTime); 81 94 QMutex _mutex; 82 static constunsigned _maxQueueSize= 6;95 unsigned _maxQueueSize; // data sets kept per satellite 83 96 QMap<QString, std::deque<t_eph*> > _eph; 84 97 };
Note:
See TracChangeset
for help on using the changeset viewer.
