Changeset 6093 in ntrip for trunk/BNC/src/PPP_free/pppFilter.h
- Timestamp:
- Sep 7, 2014, 7:18:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/pppFilter.h
r6091 r6093 23 23 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 24 24 25 #ifndef BNCMODEL_H26 #define BNCMODEL_H25 #ifndef PPPFILTER_H 26 #define PPPFILTER_H 27 27 28 28 #include <QtCore> … … 43 43 class t_tides; 44 44 45 class bncParam {45 class t_pppParam { 46 46 public: 47 47 enum parType {CRD_X, CRD_Y, CRD_Z, RECCLK, TROPO, AMB_L3, 48 48 GLONASS_OFFSET, GALILEO_OFFSET}; 49 bncParam(parType typeIn, int indexIn, const QString& prn);50 ~ bncParam();49 t_pppParam(parType typeIn, int indexIn, const QString& prn); 50 ~t_pppParam(); 51 51 double partial(t_satData* satData, bool phase); 52 52 bool isCrd() const { … … 61 61 }; 62 62 63 class bncModel{63 class t_pppFilter { 64 64 public: 65 bncModel(t_pppClient* pppClient);66 ~ bncModel();65 t_pppFilter(t_pppClient* pppClient); 66 ~t_pppFilter(); 67 67 t_irc update(t_epoData* epoData); 68 68 bncTime time() const {return _time;} … … 73 73 double trp() const { 74 74 for (int ii = 0; ii < _params.size(); ++ii) { 75 bncParam* pp = _params[ii];76 if (pp->type == bncParam::TROPO) {75 t_pppParam* pp = _params[ii]; 76 if (pp->type == t_pppParam::TROPO) { 77 77 return pp->xx; 78 78 } … … 82 82 double Glonass_offset() const { 83 83 for (int ii = 0; ii < _params.size(); ++ii) { 84 bncParam* pp = _params[ii];85 if (pp->type == bncParam::GLONASS_OFFSET) {84 t_pppParam* pp = _params[ii]; 85 if (pp->type == t_pppParam::GLONASS_OFFSET) { 86 86 return pp->xx; 87 87 } … … 91 91 double Galileo_offset() const { 92 92 for (int ii = 0; ii < _params.size(); ++ii) { 93 bncParam* pp = _params[ii];94 if (pp->type == bncParam::GALILEO_OFFSET) {93 t_pppParam* pp = _params[ii]; 94 if (pp->type == t_pppParam::GALILEO_OFFSET) { 95 95 return pp->xx; 96 96 } … … 152 152 bncTime _lastTimeOK; 153 153 QByteArray _staID; 154 QVector< bncParam*>_params;154 QVector<t_pppParam*> _params; 155 155 SymmetricMatrix _QQ; 156 QVector< bncParam*>_params_sav;156 QVector<t_pppParam*> _params_sav; 157 157 SymmetricMatrix _QQ_sav; 158 158 t_epoData* _epoData_sav;
Note:
See TracChangeset
for help on using the changeset viewer.