added acquisition finished callback when the acquisition returns registerAcquisitionFinishedCallback

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@237 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-09-04 09:47:47 +00:00
parent 2b59857032
commit 43c51f5be5
8 changed files with 146 additions and 27 deletions

View File

@@ -1,7 +1,14 @@
#ifndef ENERGYCONVERSION_H
#define ENERGYCONVERSION_H
#ifdef __CINT
#define MYROOT
#endif
#ifndef MYROOT
#include "sls_detector_defs.h"
#endif
#include <string>
using namespace std;
@@ -10,8 +17,11 @@ using namespace std;
*/
class energyConversion: private virtual slsDetectorDefs {
class energyConversion
#ifndef MYROOT
: private virtual slsDetectorDefs
#endif
{
public:
/** default constrauctor */
energyConversion(){};
@@ -37,6 +47,7 @@ class energyConversion: private virtual slsDetectorDefs {
*/
static int writeCalibrationFile(string fname, double gain, double offset);
#ifndef MYROOT
/**
reads a trim/settings file
@@ -76,6 +87,7 @@ class energyConversion: private virtual slsDetectorDefs {
char *settingsFile;
#endif
};
#endif