Changeset 3434 in ntrip for trunk/BNC/combination/bnccomb.h


Ignore:
Timestamp:
Sep 21, 2011, 6:34:08 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.h

    r3433 r3434  
    4848    }
    4949    ~cmbAC() {}
    50     QString           mountPoint;
    51     QString           name;
    52     double            weight;
    53     unsigned          numObs;
     50    QString  mountPoint;
     51    QString  name;
     52    double   weight;
     53    unsigned numObs;
    5454  };
    5555
     
    5959  };
    6060
     61  class cmbEpoch {
     62   public:
     63    cmbEpoch() {}
     64    ~cmbEpoch() {
     65      QVectorIterator<cmbCorr*> it(corrs);
     66      while (it.hasNext()) {
     67        delete it.next();
     68      }
     69    }
     70    QVector<cmbCorr*> corrs;
     71  };
     72
    6173  void processEpoch();
    6274  void dumpResults(const QMap<QString, t_corr*>& resCorr);
     
    6476  void switchToLastEph(const t_eph* lastEph, t_corr* corr);
    6577
    66   QList<cmbAC*>      _ACs;
    67   bncTime            _resTime;
    68   QVector<cmbParam*> _params;
    69   QVector<cmbCorr*>  _corrs;
    70   bncRtnetDecoder*   _rtnetDecoder;
    71   SymmetricMatrix    _QQ;
    72   bool               _firstReg;
    73   QByteArray         _log;
    74   bncAntex*          _antex;
    75   double             _MAXRES;
     78  QVector<cmbCorr*>& corrs() {return _buffer[_resTime].corrs;}
     79
     80  QList<cmbAC*>           _ACs;
     81  bncTime                 _resTime;
     82  QVector<cmbParam*>      _params;
     83  QMap<bncTime, cmbEpoch> _buffer;
     84  bncRtnetDecoder*        _rtnetDecoder;
     85  SymmetricMatrix         _QQ;
     86  bool                    _firstReg;
     87  QByteArray              _log;
     88  bncAntex*               _antex;
     89  double                  _MAXRES;
    7690};
    7791
Note: See TracChangeset for help on using the changeset viewer.