Changeset 7972 in ntrip for trunk/BNC/src/pppRun.cpp
- Timestamp:
- Jun 29, 2016, 3:04:13 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppRun.cpp
r7943 r7972 122 122 connect(BNC_CMB, SIGNAL(newClkCorrections(QList<t_clkCorr>)), 123 123 this, SLOT(slotNewClkCorrections(QList<t_clkCorr>)),conType); 124 125 connect(BNC_CORE, SIGNAL(providerIDChanged(QString)), 126 this, SLOT(slotProviderIDChanged(QString))); 124 127 } 125 128 else { … … 678 681 return '$' + nmStr + QString("*%1\n").arg(int(XOR), 0, 16).toUpper(); 679 682 } 683 684 // 685 //////////////////////////////////////////////////////////////////////////// 686 void t_pppRun::slotProviderIDChanged(QString mountPoint) { 687 QMutexLocker locker(&_mutex); 688 689 if (mountPoint.toStdString() !=_opt->_corrMount) { 690 return; 691 } 692 693 QString msg = "pppRun " + QString(_opt->_roverName.c_str()) + ": Provider Changed: " + mountPoint; 694 emit newMessage(msg.toAscii(), true); 695 696 _pppClient->reset(); 697 698 while (!_epoData.empty()) { 699 delete _epoData.front(); 700 _epoData.pop_front(); 701 } 702 }
Note:
See TracChangeset
for help on using the changeset viewer.