Changeset 1556 in ntrip
- Timestamp:
- Feb 2, 2009, 12:53:29 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnc.pro
r1555 r1556 2 2 # Switch to debug configuration 3 3 # ----------------------------- 4 CONFIG += debug5 CONFIG -= release4 CONFIG -= debug 5 CONFIG += release 6 6 7 7 DEFINES += NO_RTCM3_MAIN -
trunk/BNC/bnccaster.cpp
r1542 r1556 237 237 this, SLOT(newObs(QByteArray, bool, p_obs))); 238 238 239 connect(getThread, SIGNAL( error(QByteArray)),240 this, SLOT(slotGetThread Error(QByteArray)));239 connect(getThread, SIGNAL(getThreadFinished(QByteArray)), 240 this, SLOT(slotGetThreadFinished(QByteArray))); 241 241 242 242 _staIDs.push_back(getThread->staID()); … … 246 246 } 247 247 248 // Error in get thread249 //////////////////////////////////////////////////////////////////////////// 250 void bncCaster::slotGetThread Error(QByteArray staID) {248 // Get Thread destroyed 249 //////////////////////////////////////////////////////////////////////////// 250 void bncCaster::slotGetThreadFinished(QByteArray staID) { 251 251 QMutexLocker locker(&_mutex); 252 252 _staIDs.removeAll(staID); … … 255 255 if (_staIDs.size() == 0) { 256 256 emit(newMessage("bncCaster: Last get thread terminated", true)); 257 emit getThread Errors();257 emit getThreadsFinished(); 258 258 } 259 259 } -
trunk/BNC/bnccaster.h
r1299 r1556 49 49 signals: 50 50 void mountPointsRead(QList<bncGetThread*>); 51 void getThread Errors();51 void getThreadsFinished(); 52 52 void newMessage(QByteArray msg, bool showOnScreen); 53 53 … … 55 55 void slotNewConnection(); 56 56 void slotNewUConnection(); 57 void slotGetThread Error(QByteArray staID);57 void slotGetThreadFinished(QByteArray staID); 58 58 59 59 private: -
trunk/BNC/bncgetthread.cpp
r1555 r1556 292 292 delete _rawOutFile; 293 293 delete _serialPort; 294 emit getThreadFinished(_staID); 294 295 } 295 296 -
trunk/BNC/bncgetthread.h
r1555 r1556 68 68 void newAntCrd(QByteArray staID, double xx, double yy, double zz, QByteArray antType); 69 69 void newMessage(QByteArray msg, bool showOnScreen); 70 void getThreadFinished(QByteArray staID); 70 71 71 72 protected: -
trunk/BNC/bncmain.cpp
r1553 r1556 137 137 app.setPortCorr(settings.value("corrPort").toInt()); 138 138 139 app.connect(caster, SIGNAL(getThread Errors()), &app, SLOT(quit()));139 app.connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit())); 140 140 141 141 ((bncApp*)qApp)->slotMessage("============ Start BNC ============", true); -
trunk/BNC/bncwindow.cpp
r1551 r1556 924 924 // All get slots terminated 925 925 //////////////////////////////////////////////////////////////////////////// 926 void bncWindow::slotGetThread Errors() {926 void bncWindow::slotGetThreadsFinished() { 927 927 ((bncApp*)qApp)->slotMessage("All Get Threads Terminated", true); 928 928 if (!_actStop->isEnabled()) { … … 946 946 ((bncApp*)qApp)->setPortCorr(_corrPortLineEdit->text().toInt()); 947 947 948 connect(_caster, SIGNAL(getThread Errors()),949 this, SLOT(slotGetThread Errors()));948 connect(_caster, SIGNAL(getThreadsFinished()), 949 this, SLOT(slotGetThreadsFinished())); 950 950 951 951 connect (_caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), -
trunk/BNC/bncwindow.h
r1541 r1556 73 73 void slotNewMountPoints(QStringList* mountPoints); 74 74 void slotDeleteMountPoints(); 75 void slotGetThread Errors();75 void slotGetThreadsFinished(); 76 76 void slotSelectionChanged(); 77 77 void slotWhatsThis();
Note:
See TracChangeset
for help on using the changeset viewer.