Changeset 3187 in ntrip for trunk/BNC/upload
- Timestamp:
- Mar 29, 2011, 9:05:21 PM (14 years ago)
- Location:
- trunk/BNC/upload
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/upload/bncrtnetdecoder.cpp
r3186 r3187 54 54 // List of upload casters 55 55 // ---------------------- 56 56 QListIterator<QString> it(settings.value("uploadMountpointsOut").toStringList()); 57 while (it.hasNext()) { 58 QStringList hlp = it.next().split(","); 59 if (hlp.size() > 6) { 60 int outPort = hlp[1].toInt(); 61 bool CoM = (hlp[5].toInt() == Qt::Checked); 62 _caster.push_back(new bncUploadCaster(hlp[2], hlp[0], outPort, 63 hlp[3], hlp[4], CoM, 64 hlp[6], "", "")); 65 } 66 } 57 67 } 58 68 … … 60 70 //////////////////////////////////////////////////////////////////////// 61 71 bncRtnetDecoder::~bncRtnetDecoder() { 72 for (int ic = 0; ic < _caster.size(); ic++) { 73 delete _caster[ic]; 74 } 62 75 } 63 76 … … 101 114 if (lines.size() > 0) { 102 115 for (int ic = 0; ic < _caster.size(); ic++) { 103 _caster .at(ic)->uploadClockOrbitBias(_epoTime, _eph, lines);116 _caster[ic]->uploadClockOrbitBias(_epoTime, _eph, lines); 104 117 } 105 118 } -
trunk/BNC/upload/bncrtnetdecoder.h
r3186 r3187 40 40 private: 41 41 void readEpochTime(const QString& line); 42 Q List<bncUploadCaster*> _caster;43 QString _buffer;44 bncTime _epoTime;42 QVector<bncUploadCaster*> _caster; 43 QString _buffer; 44 bncTime _epoTime; 45 45 }; 46 46 -
trunk/BNC/upload/bncuploadcaster.cpp
r3186 r3187 31 31 const QString& password, 32 32 const QString& crdTrafo, bool CoM, 33 const QString& sp3FileName, 33 34 const QString& rnxFileName, 34 const QString& sp3FileName,35 35 const QString& outFileName) { 36 36 -
trunk/BNC/upload/bncuploadcaster.h
r3186 r3187 17 17 const QString& password, 18 18 const QString& crdTrafo, bool CoM, 19 const QString& sp3FileName, 19 20 const QString& rnxFileName, 20 const QString& sp3FileName,21 21 const QString& outFileName); 22 22 virtual ~bncUploadCaster();
Note:
See TracChangeset
for help on using the changeset viewer.