Changeset 2039 in ntrip for trunk/BNC/bncpppclient.h


Ignore:
Timestamp:
Nov 26, 2009, 2:54:36 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.h

    r2038 r2039  
    3737#define MAXPRN =
    3838
    39 class t_data {
     39class t_satData {
    4040 public:
    41   static const int MAXOBS = 56;
    42   t_data() {numSat = 0;}
    43   ~t_data() {}
    44   t_time  tt;
    45   int     numSat; 
    46   QString prn[MAXOBS+1];
    47   double  C1[MAXOBS+1];
    48   double  C2[MAXOBS+1];
    49   double  P1[MAXOBS+1];
    50   double  P2[MAXOBS+1];
    51   double  L1[MAXOBS+1];
    52   double  L2[MAXOBS+1];
     41  double C1;
     42  double C2;
     43  double P1;
     44  double P2;
     45  double L1;
     46  double L2;
     47};
     48
     49class t_epoData {
     50 public:
     51  t_epoData() {}
     52  ~t_epoData() {
     53    QMapIterator<QString, t_satData*> it(satData);
     54    while (it.hasNext()) {
     55      it.next();
     56      delete it.value();
     57    }
     58  }
     59  t_time                    tt;
     60  QMap<QString, t_satData*> satData;
    5361};
    5462
     
    8492  QMap<QString, t_eph*>  _eph;
    8593  QMap<QString, t_corr*> _corr;
    86   t_data*                _data;
     94  t_epoData*             _epoData;
    8795};
    8896
Note: See TracChangeset for help on using the changeset viewer.