- Timestamp:
- Mar 29, 2011, 5:30:40 PM (14 years ago)
- Location:
- trunk/BNC/upload
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/upload/bncrtnetdecoder.cpp
r3174 r3179 43 43 #include "bncutils.h" 44 44 #include "bncsettings.h" 45 #include "bncclockrinex.h" 46 #include "bncsp3.h" 45 47 46 48 using namespace std; … … 51 53 bncSettings settings; 52 54 _year = 0; 55 _append = Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked; 56 57 // RINEX writer 58 // ------------ 59 if ( settings.value("rnxPath").toString().isEmpty() ) { 60 _rnx = 0; 61 } 62 else { 63 QString prep = "BNC"; 64 QString ext = ".clk"; 65 QString path = settings.value("rnxPath").toString(); 66 QString intr = settings.value("rnxIntr").toString(); 67 int sampl = settings.value("rnxSampl").toInt(); 68 _rnx = new bncClockRinex(prep, ext, path, intr, sampl); 69 } 70 71 // SP3 writer 72 // ---------- 73 if ( settings.value("sp3Path").toString().isEmpty() ) { 74 _sp3 = 0; 75 } 76 else { 77 QString prep = "BNC"; 78 QString ext = ".sp3"; 79 QString path = settings.value("sp3Path").toString(); 80 QString intr = settings.value("sp3Intr").toString(); 81 int sampl = settings.value("sp3Sampl").toInt(); 82 _sp3 = new bncSP3(prep, ext, path, intr, sampl); 83 } 53 84 } 54 85 … … 56 87 //////////////////////////////////////////////////////////////////////// 57 88 bncRtnetDecoder::~bncRtnetDecoder() { 89 delete _rnx; 90 delete _sp3; 58 91 } 59 92 -
trunk/BNC/upload/bncrtnetdecoder.h
r3174 r3179 32 32 #include "RTCM/GPSDecoder.h" 33 33 34 class bncClockRinex; 35 class bncSP3; 36 34 37 class bncRtnetDecoder: public GPSDecoder, public bncEphUser { 35 38 public: … … 48 51 const QString& trafo); 49 52 50 QString _buffer;51 53 QList<bncUploadCaster*> _caster; 52 int _GPSweek; 53 double _GPSweeks; 54 int _year; 55 int _month; 56 int _day; 57 int _hour; 58 int _min; 59 double _sec; 60 61 double _dx; 62 double _dy; 63 double _dz; 64 double _dxr; 65 double _dyr; 66 double _dzr; 67 double _ox; 68 double _oy; 69 double _oz; 70 double _oxr; 71 double _oyr; 72 double _ozr; 73 double _sc; 74 double _scr; 75 double _t0; 54 bool _append; 55 QString _buffer; 56 int _GPSweek; 57 double _GPSweeks; 58 int _year; 59 int _month; 60 int _day; 61 int _hour; 62 int _min; 63 double _sec; 64 double _dx; 65 double _dy; 66 double _dz; 67 double _dxr; 68 double _dyr; 69 double _dzr; 70 double _ox; 71 double _oy; 72 double _oz; 73 double _oxr; 74 double _oyr; 75 double _ozr; 76 double _sc; 77 double _scr; 78 double _t0; 79 bncClockRinex* _rnx; 80 bncSP3* _sp3; 76 81 }; 77 82 -
trunk/BNC/upload/bncuploadcaster.h
r3176 r3179 3 3 4 4 #include <QtNetwork> 5 6 class bncClockRinex;7 class bncSP3;8 5 9 6 class bncUploadCaster : public QObject { … … 39 36 QFile* _outFile; 40 37 QTextStream* _outStream; 41 bncClockRinex* _rnx;42 bncSP3* _sp3;43 38 }; 44 39
Note:
See TracChangeset
for help on using the changeset viewer.