- Timestamp:
- Sep 21, 2011, 4:56:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.h
r3423 r3430 13 13 class cmbParam { 14 14 public: 15 enum parType {AC_offset, Sat_offset, clk}; 16 cmbParam(parType type_, int index_, const QString& ac_, 17 const QString& prn_, double sig_0_, double sig_P_); 15 enum parType {offAC, offACSat, clkSat}; 16 cmbParam(parType type_, int index_, const QString& ac_, const QString& prn_); 18 17 ~cmbParam(); 19 double partial(const QString& AC_, t_corr* corr);18 double partial(const QString& AC_, const QString& prn_); 20 19 QString toString() const; 21 20 parType type; … … 41 40 42 41 private: 43 class cmbEpoch {44 public:45 cmbEpoch(const QString& name) {acName = name;}46 ~cmbEpoch() {47 QMapIterator<QString, t_corr*> it(corr);48 while (it.hasNext()) {49 it.next();50 delete it.value();51 }52 }53 QString acName;54 bncTime time;55 QMap<QString, t_corr*> corr; // Corrections (key is PRN)56 };57 42 58 43 class cmbAC { 59 44 public: 60 45 cmbAC() {} 61 ~cmbAC() { 62 QListIterator<cmbEpoch*> it(epochs); 63 while (it.hasNext()) { 64 delete it.next(); 65 } 66 } 46 ~cmbAC() {} 67 47 QString mountPoint; 68 48 QString name; 69 49 double weight; 70 QQueue<cmbEpoch*> epochs; // List of Epochs with Corrections71 50 }; 72 51 73 class t_llInfo{52 class cmbCorr : public t_corr { 74 53 public: 75 QString AC; 76 QString prn; 54 QString acName; 77 55 }; 78 56 79 void processEpochs(const QList<cmbEpoch*>& epochs); 80 void dumpResults(const bncTime& resTime, 81 const QMap<QString, t_corr*>& resCorr); 82 void printResults(QTextStream& out, const bncTime& resTime, 83 const QMap<QString, t_corr*>& resCorr); 57 void processEpoch(); 58 void dumpResults(const QMap<QString, t_corr*>& resCorr); 59 void printResults(QTextStream& out, const QMap<QString, t_corr*>& resCorr); 84 60 void switchToLastEph(const t_eph* lastEph, t_corr* corr); 85 61 86 Q Map<QString, cmbAC*> _ACs; // Analytical Centers (key is mountpoint)87 bncTime _lastCorrTime;88 QVector<cmbParam*> 89 bncRtnetDecoder* _rtnetDecoder;90 SymmetricMatrix _QQ;91 bool _firstReg;92 QByteArray _log;93 Q String _masterAC;94 bncAntex* 95 double 62 QList<cmbAC*> _ACs; 63 bncTime _resTime; 64 QVector<cmbParam*> _params; 65 QList<cmbCorr*> _corrs; 66 bncRtnetDecoder* _rtnetDecoder; 67 SymmetricMatrix _QQ; 68 bool _firstReg; 69 QByteArray _log; 70 bncAntex* _antex; 71 double _MAXRES; 96 72 }; 97 73
Note:
See TracChangeset
for help on using the changeset viewer.