From 9f1825b193356a2abde9cb0da4feec6e75a650b8 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Fri, 11 Jan 2013 09:52:35 +0000 Subject: [PATCH] uncommented ifdef verbose git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@423 951219d9-93cf-4727-9268-0efd64621fa3 --- .../slsDetectorAnalysis/postProcessing.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp b/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp index 48f07c12e..76ad57c36 100644 --- a/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp +++ b/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp @@ -24,7 +24,7 @@ static void* startProcessDataNoDelete(void *n){\ -postProcessing::postProcessing(): expTime(NULL), ang(NULL), val(NULL), err(NULL), numberOfChannels(0){ +postProcessing::postProcessing(): expTime(NULL), ang(NULL), val(NULL), err(NULL), numberOfChannels(0){ pthread_mutex_t mp1 = PTHREAD_MUTEX_INITIALIZER; mp=mp1; pthread_mutex_init(&mp, NULL); @@ -43,7 +43,9 @@ postProcessing::postProcessing(): expTime(NULL), ang(NULL), val(NULL), err(NULL) #ifdef EXTPP registerRawDataCallback(&defaultRawDataReadyFunc, NULL); #endif + ppFun=new postProcessingFuncs(); + } @@ -354,14 +356,14 @@ void* postProcessing::processData(int delflag) { /* IF THERE ARE DATA PROCESS THEM*/ while((queuesize=dataQueueSize())>0) { /** Pop data queue */ -//#ifdef VERBOSE - cout << "data found"<< endl; -//#endif +#ifdef VERBOSE + cout << "data found"<< endl<