- Timestamp:
- Feb 11, 2012, 6:27:02 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncephuser.cpp
r3640 r3670 148 148 eLast->set(&galeph); 149 149 _eph.insert(prn, new t_ephPair(eLast)); 150 } 151 ephBufferChanged(); 152 } 153 154 // 155 //////////////////////////////////////////////////////////////////////////// 156 void bncEphUser::putNewEph(t_eph* newEph) { 157 158 QMutexLocker locker(&_mutex); 159 160 if (!newEph) { 161 return; 162 } 163 164 QString prn = newEph->prn(); 165 166 if (_eph.contains(prn)) { 167 t_eph* eLast = _eph.value(prn)->last; 168 if (newEph->isNewerThan(eLast)) { 169 delete _eph.value(prn)->prev; 170 _eph.value(prn)->prev = _eph.value(prn)->last; 171 _eph.value(prn)->last = newEph; 172 } 173 } 174 else { 175 _eph.insert(prn, new t_ephPair(newEph)); 150 176 } 151 177 ephBufferChanged(); -
trunk/BNC/bncephuser.h
r3640 r3670 105 105 } 106 106 107 void putNewEph(t_eph* eph); 108 107 109 public slots: 108 110 void slotNewEphGPS(gpsephemeris gpseph); -
trunk/BNC/bncpostprocess.cpp
r3661 r3670 86 86 _pppClient = new bncPPPclient("POST", _opt, false); 87 87 88 connect(this, SIGNAL(newEphGPS(gpsephemeris)),89 _pppClient, SLOT(slotNewEphGPS(gpsephemeris)), Qt::DirectConnection);90 91 connect(this, SIGNAL(newEphGlonass(glonassephemeris)),92 _pppClient, SLOT(slotNewEphGlonass(glonassephemeris)), Qt::DirectConnection);93 94 connect(this, SIGNAL(newEphGalileo(galileoephemeris)),95 _pppClient, SLOT(slotNewEphGalileo(galileoephemeris)), Qt::DirectConnection);96 97 88 connect(this, SIGNAL(newCorrections(QList<QString>)), 98 89 _pppClient, SLOT(slotNewCorrections(QList<QString>))); … … 108 99 t_eph* eph; 109 100 while (_rnxNavFile->getNextEph(eph) == success) { 101 _pppClient->putNewEph(eph); 110 102 } 111 103
Note:
See TracChangeset
for help on using the changeset viewer.