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


Ignore:
Timestamp:
Jan 27, 2011, 5:39:44 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r2910 r2918  
    1212  ~bncComb();
    1313  void processCorrLine(const QString& staID, const QString& line);
    14   int  nStreams() const {return _nStreams;}
     14  int  nStreams() const {return _ACs.size();}
    1515
    1616 signals:
     
    1818
    1919 private:
    20   int _nStreams;
     20
     21  class cmbEpoch {
     22   public:
     23    cmbEpoch() {}
     24    ~cmbEpoch() {
     25      QMapIterator<QString, t_corr*> it(corr);
     26      while (it.hasNext()) {
     27        it.next();
     28        delete it.value();
     29      }
     30    }
     31    bncTime                time;
     32    QMap<QString, t_corr*> corr; // Corrections (key is PRN)
     33  };
     34
     35  class cmbAC {
     36   public:
     37    cmbAC() {}
     38    ~cmbAC() {
     39      QListIterator<cmbEpoch*> it(epochs);
     40      while (it.hasNext()) {
     41        delete it.next();
     42      }
     43    }
     44    QString           mountPoint;
     45    QString           name;
     46    double            weight;
     47    QQueue<cmbEpoch*> epochs;  // List of Epochs with Corrections
     48  };
     49
     50  void processEpochsBefore(const bncTime& time);
     51
     52  QMap<QString, cmbAC*> _ACs;   // Analytical Centers (key is mountpoint)
    2153};
    2254
Note: See TracChangeset for help on using the changeset viewer.