now it should work also with jungfrau

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@33 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
jungmann_j 2014-02-05 10:43:14 +00:00
parent 71c66775cc
commit 02c85d4638
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
#include "slsDetectorData.h"
class chiptestBoardData : public slsDetectorData<uint16_t> {
class chiptestBoardData : public virtual slsDetectorData<uint16_t> {
public:

View File

@ -154,6 +154,11 @@ class slsDetectorData {
*/
int getDetectorSize(int &npx, int &npy){npx=nx; npy=ny; return nx*ny;};
/** Returns the size of the data frame */
int getDataSize() {return dataSize;};
/** changes the size of the data frame */
int setDataSize(int d) {dataSize=d; return dataSize;};
/**
@ -229,11 +234,6 @@ class slsDetectorData {
*/
virtual char *readNextFrame(ifstream &filebin)=0;
/** Returns the size of the data frame */
int getDataSize() {return dataSize;};
/** changes the size of the data frame */
int setDataSize(int d) {};//dataSize=d; return dataSize;};
protected:
const int nx; /**< Number of pixels in the x direction */
const int ny; /**< Number of pixels in the y direction */