mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-15 17:11:20 +01:00
ctb gui progress call back fix
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -12,6 +12,10 @@ build
|
||||
RELEASE.txt
|
||||
Testing/
|
||||
|
||||
ctbDict.cpp
|
||||
ctbDict.h
|
||||
|
||||
|
||||
|
||||
*.pyc
|
||||
*/__pycache__/*
|
||||
|
||||
@@ -597,12 +597,12 @@ hframe=new TGHorizontalFrame(this, 800,50);
|
||||
acqThread = new TThread("acqThread",
|
||||
ctbAcquisition::ThreadHandle,(void*)this);
|
||||
// acqThread->Run();
|
||||
cout <<"Registering progress callback" << endl;
|
||||
try {
|
||||
myDet->registerProgressCallback(&progressCallback,(void*)this);
|
||||
} catch (...) {
|
||||
cout << "Do nothing for this error" << endl;
|
||||
}
|
||||
// cout <<"Registering progress callback" << endl;
|
||||
// try {
|
||||
// myDet->registerProgressCallback(&progressCallback,(void*)this);
|
||||
// } catch (...) {
|
||||
// cout << "Do nothing for this error" << endl;
|
||||
// }
|
||||
|
||||
cout <<"Registering data callback" << endl;
|
||||
try{
|
||||
|
||||
Reference in New Issue
Block a user