Changeset 7298 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 22, 2015, 10:44:09 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccore.cpp
r7291 r7298 53 53 #include "rinex/rnxnavfile.h" 54 54 #include "pppMain.h" 55 56 #ifdef USE_COMBINATION 57 # include "combination/bnccomb.h" 58 #endif 55 #include "combination/bnccomb.h" 59 56 60 57 using namespace std; … … 76 73 _rawFile = 0; 77 74 _caster = 0; 78 #ifdef USE_COMBINATION79 75 _bncComb = 0; 80 #endif81 76 82 77 // Eph file(s) … … 145 140 delete _dateAndTimeGPS; 146 141 delete _rawFile; 147 148 #ifdef USE_COMBINATION149 142 delete _bncComb; 150 #endif151 143 } 152 144 … … 707 699 //////////////////////////////////////////////////////////////////////////// 708 700 void t_bncCore::initCombination() { 709 #ifdef USE_COMBINATION710 701 _bncComb = new bncComb(); 711 702 if (_bncComb->nStreams() < 1) { … … 713 704 _bncComb = 0; 714 705 } 715 #endif716 706 } 717 707 … … 719 709 //////////////////////////////////////////////////////////////////////////// 720 710 void t_bncCore::stopCombination() { 721 #ifdef USE_COMBINATION722 711 delete _bncComb; 723 712 _bncComb = 0; 724 #endif725 713 } 726 714 -
trunk/BNC/src/bnccore.h
r6598 r7298 46 46 enum e_mode {interactive, nonInteractive, batchPostProcessing}; 47 47 t_bncCore(); 48 ~t_bncCore(); 48 ~t_bncCore(); 49 49 static t_bncCore* instance(); 50 50 e_mode mode() const {return _mode;} … … 60 60 void setConfFileName(const QString& confFileName); 61 61 QString confFileName() const {return _confFileName;} 62 void writeRawData(const QByteArray& data, const QByteArray& staID, 62 void writeRawData(const QByteArray& data, const QByteArray& staID, 63 63 const QByteArray& format); 64 64 void initCombination(); … … 107 107 void mapSpeedSliderChanged(int); 108 108 void stopRinexPPP(); 109 109 110 110 private slots: 111 111 void slotNewConnectionEph(); … … 116 116 void printEphHeader(); 117 117 void printEph(const t_eph& eph, bool printFile); 118 void printOutputEph(bool printFile, QTextStream* stream, 118 void printOutputEph(bool printFile, QTextStream* stream, 119 119 const QString& strV2, const QString& strV3); 120 120 void messagePrivate(const QByteArray& msg); … … 145 145 QTcpServer* _serverCorr; 146 146 QList<QTcpSocket*>* _socketsCorr; 147 int _portNMEA;148 147 QTcpServer* _serverNMEA; 149 148 QList<QTcpSocket*>* _socketsNMEA; -
trunk/BNC/src/bncwindow.cpp
r7297 r7298 619 619 _aogroup->addTab(pppGroup3,tr("PPP (3)")); 620 620 _aogroup->addTab(pppGroup4,tr("PPP (4)")); 621 622 #ifdef USE_COMBINATION623 621 _aogroup->addTab(cmbgroup,tr("Combine Corrections")); 624 #endif625 622 _aogroup->addTab(uploadgroup,tr("Upload Corrections")); 626 623 _aogroup->addTab(uploadEphgroup,tr("Upload Ephemeris")); -
trunk/BNC/src/src.pri
r7239 r7298 40 40 bncnetquery.h bncnetqueryv1.h bncnetqueryv2.h \ 41 41 bncnetqueryrtp.h bncsettings.h latencychecker.h \ 42 bncipport.h bncnetqueryv0.h bncnetqueryudp.h \ 43 bncnetqueryudp0.h bncudpport.h bnctime.h \ 44 bncserialport.h bncnetquerys.h bncfigure.h \ 45 bncfigurelate.h bncversion.h \ 46 bncfigureppp.h bncrawfile.h \ 42 bncipport.h bncnetqueryv0.h bncnetqueryudp.h \ 43 bncnetqueryudp0.h bncudpport.h bnctime.h \ 44 bncserialport.h bncnetquerys.h bncfigure.h \ 45 bncfigurelate.h bncversion.h \ 46 bncfigureppp.h bncrawfile.h \ 47 47 bncmap.h bncantex.h bncephuser.h \ 48 48 bncoutf.h bncclockrinex.h bncsp3.h bncsinextro.h \ … … 65 65 rinex/graphwin.h rinex/polarplot.h \ 66 66 rinex/availplot.h rinex/eleplot.h \ 67 rinex/dopplot.h orbComp/sp3Comp.h 67 rinex/dopplot.h orbComp/sp3Comp.h \ 68 combination/bnccomb.h 68 69 69 70 HEADERS += serial/qextserialbase.h serial/qextserialport.h … … 71 72 win32:HEADERS += serial/win_qextserialport.h 72 73 73 SOURCES = bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp\74 SOURCES = bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \ 74 75 bnccaster.cpp bncrinex.cpp bnccore.cpp bncutils.cpp \ 75 76 bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \ … … 101 102 rinex/graphwin.cpp rinex/polarplot.cpp \ 102 103 rinex/availplot.cpp rinex/eleplot.cpp \ 103 rinex/dopplot.cpp orbComp/sp3Comp.cpp 104 rinex/dopplot.cpp orbComp/sp3Comp.cpp \ 105 combination/bnccomb.cpp 104 106 105 107 SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp … … 111 113 QT += network 112 114 113 exists(combination/bnccomb.h) {114 DEFINES += USE_COMBINATION115 HEADERS += combination/bnccomb.h116 SOURCES += combination/bnccomb.cpp117 }118 119 115 exists(PPP) { 120 116 INCLUDEPATH += PPP … … 122 118 HEADERS += PPP/pppClient.h PPP/pppObsPool.h PPP/pppEphPool.h \ 123 119 PPP/pppStation.h PPP/pppFilter.h PPP/pppParlist.h \ 124 PPP/pppSatObs.h 120 PPP/pppSatObs.h 125 121 SOURCES += PPP/pppClient.cpp PPP/pppObsPool.cpp PPP/pppEphPool.cpp \ 126 PPP/pppStation.cpp PPP/pppFilter.cpp PPP/pppParlist.cpp \ 127 PPP/pppSatObs.cpp 122 PPP/pppStation.cpp PPP/pppFilter.cpp PPP/pppParlist.cpp \ 123 PPP/pppSatObs.cpp 128 124 } 129 125 else { … … 149 145 150 146 macx { 151 exists("$$[QT_INSTALL_LIBS]/QtWebKit.framework") { 147 exists("$$[QT_INSTALL_LIBS]/QtWebKit.framework") { 152 148 DEFINES += QT_WEBKIT 153 149 }
Note:
See TracChangeset
for help on using the changeset viewer.