Changeset 2918 in ntrip for trunk/BNC/combination/bnccomb.h
- Timestamp:
- Jan 27, 2011, 5:39:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.h
r2910 r2918 12 12 ~bncComb(); 13 13 void processCorrLine(const QString& staID, const QString& line); 14 int nStreams() const {return _ nStreams;}14 int nStreams() const {return _ACs.size();} 15 15 16 16 signals: … … 18 18 19 19 private: 20 int _nStreams; 20 21 class cmbEpoch { 22 public: 23 cmbEpoch() {} 24 ~cmbEpoch() { 25 QMapIterator<QString, t_corr*> it(corr); 26 while (it.hasNext()) { 27 it.next(); 28 delete it.value(); 29 } 30 } 31 bncTime time; 32 QMap<QString, t_corr*> corr; // Corrections (key is PRN) 33 }; 34 35 class cmbAC { 36 public: 37 cmbAC() {} 38 ~cmbAC() { 39 QListIterator<cmbEpoch*> it(epochs); 40 while (it.hasNext()) { 41 delete it.next(); 42 } 43 } 44 QString mountPoint; 45 QString name; 46 double weight; 47 QQueue<cmbEpoch*> epochs; // List of Epochs with Corrections 48 }; 49 50 void processEpochsBefore(const bncTime& time); 51 52 QMap<QString, cmbAC*> _ACs; // Analytical Centers (key is mountpoint) 21 53 }; 22 54
Note:
See TracChangeset
for help on using the changeset viewer.