Changeset 5569 in ntrip for trunk/BNC/src
- Timestamp:
- Nov 23, 2013, 6:50:41 PM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmodel.h
r5157 r5569 99 99 SymmetricMatrix& QQ, ColumnVector& dx); 100 100 101 void reset(); 102 101 103 private: 102 104 t_irc cmpBancroft(t_epoData* epoData); 103 void reset();104 105 void cmpEle(t_satData* satData); 105 106 void addAmb(t_satData* satData); -
trunk/BNC/src/bncpppclient.cpp
r5568 r5569 70 70 _model = new bncModel(this); 71 71 72 _streamID[0] = -1; 73 _streamID[1] = -1; 74 _streamID[2] = -1; 75 72 76 if (connectSlots) { 73 77 connect(this, SIGNAL(newMessage(QByteArray,bool)), … … 537 541 538 542 for (unsigned ii = 0; ii < 3; ii++) { 539 if (_ providerID.streamID[ii] != -1) {543 if (_streamID[ii] != -1) { 540 544 alreadySet = true; 541 545 } 542 546 if (corr->streamID[ii] != -1) { 543 if (_ providerID.streamID[ii] != corr->streamID[ii]) {547 if (_streamID[ii] != corr->streamID[ii]) { 544 548 different = true; 545 549 } 546 _ providerID.streamID[ii] = corr->streamID[ii];550 _streamID[ii] = corr->streamID[ii]; 547 551 } 548 552 } 549 553 550 554 if (alreadySet && different) { 551 _ providerID.reset = true;552 } 553 } 555 _model->reset(); 556 } 557 } -
trunk/BNC/src/bncpppclient.h
r5566 r5569 153 153 }; 154 154 155 class t_providerID {156 public:157 t_providerID() {158 streamID[0] = -1;159 streamID[1] = -1;160 streamID[2] = -1;161 reset = false;162 }163 int streamID[3];164 bool reset;165 };166 167 155 t_irc getSatPos(const bncTime& tt, const QString& prn, 168 156 ColumnVector& xc, ColumnVector& vv); … … 181 169 bncModel* _model; 182 170 QMap<QString, slipInfo> _slips; 183 t_providerID_providerID;171 int _streamID[3]; 184 172 }; 185 173
Note:
See TracChangeset
for help on using the changeset viewer.