Changeset 5583 in ntrip
- Timestamp:
- Nov 27, 2013, 5:55:26 PM (11 years ago)
- Location:
- trunk/BNC/src/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r5576 r5583 164 164 connect(this, SIGNAL(newMessage(QByteArray,bool)), 165 165 BNC_CORE, SLOT(slotMessage(const QByteArray,bool))); 166 167 connect(BNC_CORE, SIGNAL(providerIDChanged(QString)), 168 this, SLOT(slotProviderIDChanged(QString))); 166 169 167 170 // Combination Method … … 1132 1135 return success; 1133 1136 } 1137 1138 // 1139 //////////////////////////////////////////////////////////////////////////// 1140 void bncComb::slotProviderIDChanged(QString mountPoint) { 1141 QMutexLocker locker(&_mutex); 1142 1143 // Find the AC Name 1144 // ---------------- 1145 QString acName; 1146 QListIterator<cmbAC*> icAC(_ACs); 1147 while (icAC.hasNext()) { 1148 cmbAC* AC = icAC.next(); 1149 if (AC->mountPoint == mountPoint) { 1150 acName = AC->name; 1151 break; 1152 } 1153 } 1154 if (acName.isEmpty()) { 1155 return; 1156 } 1157 1158 // Remove all corrections of the corresponding AC 1159 // ---------------------------------------------- 1160 QListIterator<bncTime> itTime(_buffer.keys()); 1161 while (itTime.hasNext()) { 1162 bncTime epoTime = itTime.next(); 1163 QVector<cmbCorr*>& corrVec = _buffer[epoTime].corrs; 1164 1165 QVectorIterator<cmbCorr*> it(corrVec); 1166 while (it.hasNext()) { 1167 cmbCorr* corr = it.next(); 1168 if (acName == corr->acName) { 1169 1170 } 1171 } 1172 } 1173 } -
trunk/BNC/src/combination/bnccomb.h
r4183 r5583 37 37 void processCorrLine(const QString& staID, const QString& line); 38 38 int nStreams() const {return _ACs.size();} 39 40 public slots: 41 void slotProviderIDChanged(QString mountPoint); 39 42 40 43 signals:
Note:
See TracChangeset
for help on using the changeset viewer.