Changeset 6100 in ntrip for trunk/BNC/src/PPP_free/pppFilter.h
- Timestamp:
- Sep 8, 2014, 9:02:33 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/pppFilter.h
r6093 r6100 42 42 class t_satData; 43 43 class t_tides; 44 45 class t_satData { 46 public: 47 t_satData() { 48 obsIndex = 0; 49 P1 = 0.0; 50 P2 = 0.0; 51 P5 = 0.0; 52 P3 = 0.0; 53 L1 = 0.0; 54 L2 = 0.0; 55 L5 = 0.0; 56 L3 = 0.0; 57 } 58 ~t_satData() {} 59 bncTime tt; 60 QString prn; 61 double P1; 62 double P2; 63 double P5; 64 double P3; 65 double L1; 66 double L2; 67 double L5; 68 double L3; 69 ColumnVector xx; 70 ColumnVector vv; 71 double clk; 72 double eleSat; 73 double azSat; 74 double rho; 75 bool slipFlag; 76 double lambda3; 77 unsigned obsIndex; 78 char system() const {return prn.toAscii()[0];} 79 }; 80 81 class t_epoData { 82 public: 83 t_epoData() {} 84 85 ~t_epoData() { 86 clear(); 87 } 88 89 void clear() { 90 QMapIterator<QString, t_satData*> it(satData); 91 while (it.hasNext()) { 92 it.next(); 93 delete it.value(); 94 } 95 satData.clear(); 96 tt.reset(); 97 } 98 99 void deepCopy(const t_epoData* from) { 100 clear(); 101 tt = from->tt; 102 QMapIterator<QString, t_satData*> it(from->satData); 103 while (it.hasNext()) { 104 it.next(); 105 satData[it.key()] = new t_satData(*it.value()); 106 } 107 } 108 109 unsigned sizeSys(char system) const { 110 unsigned ans = 0; 111 QMapIterator<QString, t_satData*> it(satData); 112 while (it.hasNext()) { 113 it.next(); 114 if (it.value()->system() == system) { 115 ++ans; 116 } 117 } 118 return ans; 119 } 120 unsigned sizeAll() const {return satData.size();} 121 122 bncTime tt; 123 QMap<QString, t_satData*> satData; 124 }; 44 125 45 126 class t_pppParam { … … 136 217 void bancroft(const Matrix& BBpass, ColumnVector& pos); 137 218 138 class pppPos {139 public:140 pppPos() {141 for (int ii = 0; ii < 7; ++ii) {142 xnt[ii] = 0.0;143 }144 }145 bncTime time;146 double xnt[7];147 };148 149 219 t_pppClient* _pppClient; 150 const t_pppOptions* _opt;151 220 bncTime _time; 152 221 bncTime _lastTimeOK; 153 QByteArray _staID;154 222 QVector<t_pppParam*> _params; 155 223 SymmetricMatrix _QQ; … … 159 227 ColumnVector _xcBanc; 160 228 ColumnVector _ellBanc; 161 QByteArray _log;162 229 QMap<QString, double> _windUpTime; 163 230 QMap<QString, double> _windUpSum; 164 QVector<pppPos*> _posAverage;165 231 QStringList _outlierGPS; 166 232 QStringList _outlierGlo;
Note:
See TracChangeset
for help on using the changeset viewer.