added receiver in here

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@328 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-10-30 10:06:58 +00:00
parent 007995a5ec
commit 2338de4054
13 changed files with 1413 additions and 92 deletions

View File

@ -508,10 +508,7 @@ double slsDetectorUtils::getCurrentProgress() {
void slsDetectorUtils::incrementProgress(int i) {
pthread_mutex_lock(&mp);
if(i==-1)
progressIndex++;
else
progressIndex+=i;
progressIndex+=i;
cout << fixed << setprecision(2) << setw (6) << 100.*((double)progressIndex)/((double)totalProgress) << " \%";
pthread_mutex_unlock(&mp);
#ifdef VERBOSE