mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-20 07:02:22 +01:00
included progresscallback to use in the gui to get the progress for receivers
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@336 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -240,7 +240,7 @@ s
|
||||
|
||||
void registerRawDataCallback(int( *userCallback)(double*, int, void*), void *pArg) {rawDataReady = userCallback; pRawDataArg = pArg;};
|
||||
|
||||
|
||||
void registerProgressCallback(int( *func)(double,void*), void *pArg){progress_call=func; pProgressCallArg=pArg;};
|
||||
|
||||
virtual double getRateCorrectionTau()=0;
|
||||
|
||||
@@ -333,6 +333,9 @@ s
|
||||
int (*rawDataReady)(double*,int,void*);
|
||||
void *pRawDataArg;
|
||||
|
||||
int (*progress_call)(double,void*);
|
||||
void *pProgressCallArg;
|
||||
|
||||
|
||||
postProcessingFuncs *ppFun;
|
||||
detectorData *thisData;
|
||||
|
||||
Reference in New Issue
Block a user