Changeset 7299 in ntrip
- Timestamp:
- Sep 23, 2015, 5:21:35 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r7297 r7299 123 123 124 124 return outStr; 125 } 126 127 // Singleton 128 //////////////////////////////////////////////////////////////////////////// 129 bncComb* bncComb::instance() { 130 static bncComb _bncComb; 131 return &_bncComb; 125 132 } 126 133 … … 857 864 for (int iPar = 1; iPar <= _params.size(); iPar++) { 858 865 cmbParam* pp = _params[iPar-1]; 859 if ( AA.Column(iPar).maximum_absolute_value() > 0.0 && 866 if ( pp && 867 AA.Column(iPar).maximum_absolute_value() > 0.0 && 860 868 pp->type == cmbParam::offACSat && 861 869 pp->prn == prn) { … … 871 879 // for (int iPar = 1; iPar <= _params.size(); iPar++) { 872 880 // cmbParam* pp = _params[iPar-1]; 873 // if ( AA.Column(iPar).maximum_absolute_value() > 0.0 && 881 // if ( pp && 882 // AA.Column(iPar).maximum_absolute_value() > 0.0 && 874 883 // pp->type == cmbParam::offACSat && 875 884 // pp->prn == prn) { -
trunk/BNC/src/combination/bnccomb.h
r7085 r7299 17 17 bncComb(); 18 18 virtual ~bncComb(); 19 static bncComb* instance(); 19 20 int nStreams() const {return _ACs.size();} 20 21 … … 127 128 }; 128 129 130 #define BNC_CMB (bncComb::instance()) 131 129 132 #endif -
trunk/BNC/src/pppRun.cpp
r7288 r7299 57 57 #include "rinex/rnxnavfile.h" 58 58 #include "rinex/corrfile.h" 59 #include "combination/bnccomb.h" 59 60 60 61 using namespace BNC_PPP; … … 115 116 connect(BNC_CORE, SIGNAL(newPhaseBiases(QList<t_satPhaseBias>)), 116 117 this, SLOT(slotNewPhaseBiases(QList<t_satPhaseBias>)),conType); 118 119 connect(BNC_CMB, SIGNAL(newOrbCorrections(QList<t_orbCorr>)), 120 this, SLOT(slotNewOrbCorrections(QList<t_orbCorr>)),conType); 121 122 connect(BNC_CMB, SIGNAL(newClkCorrections(QList<t_clkCorr>)), 123 this, SLOT(slotNewClkCorrections(QList<t_clkCorr>)),conType); 117 124 } 118 125 else { … … 369 376 } 370 377 371 if (_opt->_realTime) { 378 if (_opt->_realTime) { qDebug() << clkCorr[0]._staID.c_str(); 372 379 if (_opt->_corrMount.empty() || _opt->_corrMount != clkCorr[0]._staID) { 373 380 return;
Note:
See TracChangeset
for help on using the changeset viewer.