Changeset 3627 in ntrip for trunk/BNC/bncpostprocess.cpp
- Timestamp:
- Jan 22, 2012, 6:26:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpostprocess.cpp
r3626 r3627 48 48 //////////////////////////////////////////////////////////////////////////// 49 49 t_postProcessing::t_postProcessing(QObject* parent) : QThread(parent) { 50 51 50 bncSettings settings; 52 51 _input.obsFileName = settings.value("postObsFile").toString(); 53 52 _input.navFileName = settings.value("postNavFile").toString(); 54 53 _input.corrFileName = settings.value("postcorrFile").toString(); 55 56 _isToBeDeleted = false;57 54 } 58 55 … … 60 57 //////////////////////////////////////////////////////////////////////////// 61 58 t_postProcessing::~t_postProcessing() { 62 if (isRunning()) { 63 wait(); 64 } 65 } 66 67 // 68 //////////////////////////////////////////////////////////////////////////// 69 void t_postProcessing::terminate() { 70 _isToBeDeleted = true; 71 if (!isRunning()) { 72 delete this; 73 } 59 cout << "~t_postProcessing" << endl; 74 60 } 75 61 … … 82 68 cout << "corrFile: " << _input.corrFileName.toAscii().data() << endl; 83 69 84 int MAXI = 10;70 int MAXI = 5; 85 71 for (int ii = 1; ii < MAXI; ii++) { 86 72 cout << "ii = " << ii << endl; 87 73 sleep(1); 88 74 } 75 76 emit finished(); 89 77 }
Note:
See TracChangeset
for help on using the changeset viewer.