mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
defined generic socket class for both TCP and UDP, inherited by MySocketTCP - send receive funcs should still be implemented
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@332 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -371,14 +371,23 @@ void* postProcessing::processData(int delflag) {
|
||||
}
|
||||
//receiver
|
||||
else{
|
||||
int prevCaught=getCurrentFrameIndex();
|
||||
int caught=0;
|
||||
while(getRunStatus()!=IDLE){
|
||||
caught=getCurrentFrameIndex();
|
||||
incrementProgress(caught-prevCaught);
|
||||
prevCaught=caught;
|
||||
usleep(1000000);
|
||||
}
|
||||
int prevCaught=getCurrentFrameIndex();
|
||||
int caught=0;
|
||||
while(getRunStatus()!=IDLE){
|
||||
caught=getCurrentFrameIndex();
|
||||
incrementProgress(caught-prevCaught);
|
||||
prevCaught=caught;
|
||||
usleep(1000000);
|
||||
}
|
||||
/*
|
||||
if (dataReady) {
|
||||
// can add get frame from receiver and send it to GUI
|
||||
thisData=new detectorData(val,err,ang,getCurrentProgress(),(fname+ext).c_str(),np);
|
||||
dataReady(thisData, pCallbackArg);
|
||||
delete thisData;
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user