Changeset 4338 in ntrip for trunk/BNC/src/rinex/reqcanalyze.h


Ignore:
Timestamp:
Jun 24, 2012, 12:11:32 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.h

    r4300 r4338  
    3232#include "RTCM3/ephemeris.h"
    3333
     34class t_polarPoint;
     35
    3436class t_reqcAnalyze : public QThread {
    3537Q_OBJECT
     
    5456  class t_anaObs {
    5557   public:
    56     t_anaObs(const t_obs& obsIn) {
    57       obs = obsIn;
    58       M1  = 0.0;
    59       M2  = 0.0;
    60     }
     58    t_anaObs(const t_obs& obsIn) :
     59      obs(obsIn), az(0.0), zen(0.0), MP1(0.0), MP2(0.0) {}
    6160    t_obs  obs;
    62     double M1;
    63     double M2;
     61    double az;
     62    double zen;
     63    double MP1;
     64    double MP2;
    6465  };
    6566
    6667  class t_satStat {
    6768   public:
    68     t_satStat() {
    69       currObs = 0;
    70       prevObs = 0;
     69    t_satStat() {}
     70    ~t_satStat() {
     71      for (int ii = 0; ii < anaObs.size(); ii++) {
     72        delete anaObs[ii];
     73      }
    7174    }
    72     ~t_satStat() {
    73       delete currObs;
    74       delete prevObs;
    75     }
    76     void addObs(const t_obs& obs);
    77     QVector<double> MP1;
    78     QVector<double> MP2;
    79     t_anaObs* currObs;
    80     t_anaObs* prevObs;
     75    void addObs(const t_eph* eph, const t_obs& obs);
     76    QVector<t_anaObs*> anaObs;
    8177  };
    8278
     
    9288  QMap<QString, t_satStat> _satStat;
    9389  t_rnxObsFile::t_rnxEpo*  _currEpo;
     90  QVector<t_polarPoint*>*  _dataMP1;
     91  QVector<t_polarPoint*>*  _dataMP2;
    9492};
    9593
Note: See TracChangeset for help on using the changeset viewer.