mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-03-13 16:12:49 +01:00
WIP
This commit is contained in:
@@ -3604,12 +3604,6 @@ void multiSlsDetector::registerAcquisitionFinishedCallback(
|
||||
acqFinished_p = pArg;
|
||||
}
|
||||
|
||||
void multiSlsDetector::registerProgressCallback(void (*func)(double, void *),
|
||||
void *pArg) {
|
||||
progress_call = func;
|
||||
pProgressCallArg = pArg;
|
||||
}
|
||||
|
||||
void multiSlsDetector::registerDataCallback(
|
||||
void (*userCallback)(detectorData *, uint64_t, uint32_t, void *),
|
||||
void *pArg) {
|
||||
@@ -3733,10 +3727,6 @@ int multiSlsDetector::acquire() {
|
||||
sem_post(&sem_newRTAcquisition);
|
||||
dataProcessingThread.join();
|
||||
|
||||
if (progress_call != nullptr) {
|
||||
progress_call(getCurrentProgress(), pProgressCallArg);
|
||||
}
|
||||
|
||||
if (acquisition_finished != nullptr) {
|
||||
acquisition_finished(getCurrentProgress(), getRunStatus(),
|
||||
acqFinished_p);
|
||||
|
||||
Reference in New Issue
Block a user