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


Ignore:
Timestamp:
Aug 28, 2011, 3:54:10 PM (13 years ago)
Author:
mervart
Message:

LM: new Outlier Detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.h

    r3319 r3375  
    6565 public:
    6666  t_epoData() {}
     67
     68  t_epoData(const t_epoData& ed) {
     69    tt = ed.tt;
     70    QMapIterator<QString, t_satData*> itGPS(ed.satDataGPS);
     71    while (itGPS.hasNext()) {
     72      itGPS.next();
     73      satDataGPS[itGPS.key()] = new t_satData(*itGPS.value());
     74    }
     75    QMapIterator<QString, t_satData*> itGlo(ed.satDataGlo);
     76    while (itGlo.hasNext()) {
     77      itGlo.next();
     78      satDataGlo[itGPS.key()] = new t_satData(*itGlo.value());
     79    }
     80    QMapIterator<QString, t_satData*> itGal(ed.satDataGal);
     81    while (itGal.hasNext()) {
     82      itGal.next();
     83      satDataGPS[itGal.key()] = new t_satData(*itGal.value());
     84    }
     85  }
     86
    6787  ~t_epoData() {
    6888    QMapIterator<QString, t_satData*> itGPS(satDataGPS);
     
    87107  unsigned sizeAll() const {return satDataGPS.size() + satDataGlo.size() +
    88108                                   satDataGal.size();}
    89   bncTime                    tt;
     109  bncTime                   tt;
    90110  QMap<QString, t_satData*> satDataGPS;
    91111  QMap<QString, t_satData*> satDataGlo;
Note: See TracChangeset for help on using the changeset viewer.