Changeset 3430 in ntrip


Ignore:
Timestamp:
Sep 21, 2011, 4:56:04 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3423 r3430  
    1313class cmbParam {
    1414 public:
    15   enum parType {AC_offset, Sat_offset, clk};
    16   cmbParam(parType type_, int index_, const QString& ac_,
    17            const QString& prn_, double sig_0_, double sig_P_);
     15  enum parType {offAC, offACSat, clkSat};
     16  cmbParam(parType type_, int index_, const QString& ac_, const QString& prn_);
    1817  ~cmbParam();
    19   double partial(const QString& AC_, t_corr* corr);
     18  double partial(const QString& AC_, const QString& prn_);
    2019  QString toString() const;
    2120  parType type;
     
    4140
    4241 private:
    43   class cmbEpoch {
    44    public:
    45     cmbEpoch(const QString& name) {acName = name;}
    46     ~cmbEpoch() {
    47       QMapIterator<QString, t_corr*> it(corr);
    48       while (it.hasNext()) {
    49         it.next();
    50         delete it.value();
    51       }
    52     }
    53     QString                acName;
    54     bncTime                time;
    55     QMap<QString, t_corr*> corr; // Corrections (key is PRN)
    56   };
    5742
    5843  class cmbAC {
    5944   public:
    6045    cmbAC() {}
    61     ~cmbAC() {
    62       QListIterator<cmbEpoch*> it(epochs);
    63       while (it.hasNext()) {
    64         delete it.next();
    65       }
    66     }
     46    ~cmbAC() {}
    6747    QString           mountPoint;
    6848    QString           name;
    6949    double            weight;
    70     QQueue<cmbEpoch*> epochs;  // List of Epochs with Corrections
    7150  };
    7251
    73   class t_llInfo {
     52  class cmbCorr : public t_corr {
    7453   public:
    75     QString AC;
    76     QString prn;
     54    QString acName;
    7755  };
    7856
    79   void processEpochs(const QList<cmbEpoch*>& epochs);
    80   void dumpResults(const bncTime& resTime,
    81                    const QMap<QString, t_corr*>& resCorr);
    82   void printResults(QTextStream& out, const bncTime& resTime,
    83                     const QMap<QString, t_corr*>& resCorr);
     57  void processEpoch();
     58  void dumpResults(const QMap<QString, t_corr*>& resCorr);
     59  void printResults(QTextStream& out, const QMap<QString, t_corr*>& resCorr);
    8460  void switchToLastEph(const t_eph* lastEph, t_corr* corr);
    8561
    86   QMap<QString, cmbAC*> _ACs;   // Analytical Centers (key is mountpoint)
    87   bncTime               _lastCorrTime;
    88   QVector<cmbParam*>    _params;
    89   bncRtnetDecoder*      _rtnetDecoder;
    90   SymmetricMatrix       _QQ;
    91   bool                  _firstReg;
    92   QByteArray            _log;
    93   QString               _masterAC;
    94   bncAntex*             _antex;
    95   double                _MAXRES;
     62  QList<cmbAC*>      _ACs;
     63  bncTime            _resTime;
     64  QVector<cmbParam*> _params;
     65  QList<cmbCorr*>    _corrs;
     66  bncRtnetDecoder*   _rtnetDecoder;
     67  SymmetricMatrix    _QQ;
     68  bool               _firstReg;
     69  QByteArray         _log;
     70  bncAntex*          _antex;
     71  double             _MAXRES;
    9672};
    9773
Note: See TracChangeset for help on using the changeset viewer.