Changeset 336 in ntrip
- Timestamp:
- Nov 26, 2006, 10:53:08 AM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r333 r336 116 116 //////////////////////////////////////////////////////////////////////////// 117 117 void bncCaster::newObs(const QByteArray& staID, const QUrl& mountPoint, 118 bool firstObs, Observation* obs) { 118 bool firstObs, Observation* obs, 119 const QByteArray& format) { 119 120 120 121 QMutexLocker locker(&_mutex); … … 131 132 // -------------------- 132 133 if (_rinexWriters.find(obs->StatID) == _rinexWriters.end()) { 133 _rinexWriters.insert(obs->StatID, new bncRinex(obs->StatID, mountPoint)); 134 _rinexWriters.insert(obs->StatID, new bncRinex(obs->StatID, 135 mountPoint, format)); 134 136 } 135 137 bncRinex* rnx = _rinexWriters.find(obs->StatID).value(); -
trunk/BNC/bnccaster.h
r280 r336 45 45 int numStations() const {return _staIDs.size();} 46 46 void newObs(const QByteArray& staID, const QUrl& mountPoint, 47 bool firstObs, Observation* obs );47 bool firstObs, Observation* obs, const QByteArray& format); 48 48 49 49 signals: -
trunk/BNC/bncgetthread.cpp
r331 r336 290 290 emit newObs(_staID, *it); 291 291 bool firstObs = (it == _decoder->_obsList.begin()); 292 _global_caster->newObs(_staID, _mountPoint, firstObs, *it );292 _global_caster->newObs(_staID, _mountPoint, firstObs, *it, _format); 293 293 } 294 294 _decoder->_obsList.clear(); -
trunk/BNC/bncrinex.cpp
r324 r336 61 61 // Constructor 62 62 //////////////////////////////////////////////////////////////////////////// 63 bncRinex::bncRinex(const char* StatID, const QUrl& mountPoint) { 63 bncRinex::bncRinex(const char* StatID, const QUrl& mountPoint, 64 const QByteArray& format) { 64 65 _statID = StatID; 65 _mountPoint = mountPoint; 66 _mountPoint = mountPoint; 67 _format = format; 66 68 _headerWritten = false; 67 69 -
trunk/BNC/bncrinex.h
r292 r336 38 38 class bncRinex { 39 39 public: 40 bncRinex(const char* StatID, const QUrl& mountPoint); 40 bncRinex(const char* StatID, const QUrl& mountPoint, 41 const QByteArray& format); 41 42 ~bncRinex(); 42 43 void deepCopy(const Observation* obs); … … 61 62 QString _userName; 62 63 QString _sklName; 64 QByteArray _format; 63 65 }; 64 66
Note:
See TracChangeset
for help on using the changeset viewer.