Changeset 3179 in ntrip for trunk/BNC/upload/bncrtnetdecoder.cpp
- Timestamp:
- Mar 29, 2011, 5:30:40 PM (13 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.