Changeset 6405 in ntrip for trunk/BNC/src/bncantex.h


Ignore:
Timestamp:
Dec 22, 2014, 6:09:12 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncantex.h

    r6015 r6405  
    3737  bncAntex();
    3838  ~bncAntex();
    39   t_irc readFile(const QString& fileName); 
    40   void print() const;
    41   double pco(const QString& antName, double eleSat, bool& found) const;
    42   double rcvCorr(const std::string& antName, double eleSat, bool& found) const;
     39  t_irc  readFile(const QString& fileName); 
     40  void   print() const;
     41  double rcvCorr(const std::string& antName, t_frequency::type frqType,
     42                 double eleSat, double azSat, bool& found) const;
    4343  t_irc  satCoMcorrection(const QString& prn, double Mjd,
    4444                          const ColumnVector& xSat, ColumnVector& dx);
    4545
    4646 private:
    47 
    4847  class t_frqMap {
    4948   public:
     
    5453  class t_antMap {
    5554   public:
    56     t_antMap() {
    57       frqMapL1 = 0;
    58       frqMapL2 = 0;
     55    t_antMap() {}
     56    ~t_antMap() {
     57      QMapIterator<t_frequency::type, t_frqMap*> it(frqMap);
     58      while (it.hasNext()) {
     59        it.next();
     60        delete it.value();
     61      }
    5962    }
    60     ~t_antMap() {
    61       delete frqMapL1;
    62       delete frqMapL2;
    63     }
    64     QString   antName;
    65     double       zen1;
    66     double       zen2;
    67     double       dZen;
    68     t_frqMap* frqMapL1;
    69     t_frqMap* frqMapL2;
    70     bncTime   validFrom;
    71     bncTime   validTo;
     63    QString                            antName;
     64    double                             zen1;
     65    double                             zen2;
     66    double                             dZen;
     67    QMap<t_frequency::type, t_frqMap*> frqMap;
     68    bncTime                            validFrom;
     69    bncTime                            validTo;
    7270  };
    7371
Note: See TracChangeset for help on using the changeset viewer.