Changeset 5810 in ntrip for trunk/BNC/src/PPP/pppParlist.h
- Timestamp:
- Aug 6, 2014, 11:34:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppParlist.h
r5809 r5810 4 4 #include <vector> 5 5 #include <string> 6 #include "ppp .h"6 #include "pppInclude.h" 7 7 #include "t_prn.h" 8 8 #include "bnctime.h" … … 12 12 class t_satObs; 13 13 14 class t_p aram {14 class t_pppParam { 15 15 public: 16 16 enum e_type {crdX, crdY, crdZ, clkR, amb, offGG, trp, bias}; 17 17 18 t_p aram(e_type type, const t_prn& prn, t_lc::type tLC,18 t_pppParam(e_type type, const t_prn& prn, t_lc::type tLC, 19 19 const std::vector<t_satObs*>* obsVector = 0); 20 20 21 ~t_p aram();21 ~t_pppParam(); 22 22 e_type type() const {return _type;} 23 23 double x0() const {return _x0;} … … 25 25 const t_lc::type& tLC) const; 26 26 bool epoSpec() const {return _epoSpec;} 27 bool isEqual(const t_p aram* par2) const {27 bool isEqual(const t_pppParam* par2) const { 28 28 return (_type == par2->_type && _prn == par2->_prn && _tLC == par2->_tLC); 29 29 } … … 52 52 void stepAmbNumEpo() {if (_ambInfo) _ambInfo->_numEpo += 1;} 53 53 54 static bool sortFunction(const t_p aram* p1, const t_param* p2) {54 static bool sortFunction(const t_pppParam* p1, const t_pppParam* p2) { 55 55 if (p1->_type != p2->_type) { 56 56 return p1->_type < p2->_type; … … 92 92 }; 93 93 94 class t_p arlist {94 class t_pppParlist { 95 95 public: 96 t_p arlist();97 ~t_p arlist();96 t_pppParlist(); 97 ~t_pppParlist(); 98 98 99 99 t_irc set(const bncTime& epoTime, const std::vector<t_lc::type>& ambLCs, … … 101 101 102 102 unsigned nPar() const {return _params.size();} 103 const std::vector<t_p aram*>& params() const {return _params;}104 std::vector<t_p aram*>& params() {return _params;}103 const std::vector<t_pppParam*>& params() const {return _params;} 104 std::vector<t_pppParam*>& params() {return _params;} 105 105 void printResult(const bncTime& epoTime, const SymmetricMatrix& QQ, 106 106 const ColumnVector& xx, double ambFixRate) const; 107 107 private: 108 std::vector<t_p aram*> _params;108 std::vector<t_pppParam*> _params; 109 109 }; 110 110
Note:
See TracChangeset
for help on using the changeset viewer.