mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 13:51:34 +01:00
setup receiver first working draft
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@267 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -570,6 +570,21 @@ class slsDetectorUtils : public slsDetectorActions, public postProcessing {
|
||||
static int dummyAcquisitionFinished(double prog,int status,void* p){cout <<"Acquisition finished callback! " << prog << " " << status << endl; return 0;}
|
||||
static int dummyMeasurementFinished(int im,int findex,void* p){cout <<"Measurement finished callback! " << im << " " << findex << endl; return 0;}
|
||||
|
||||
/**
|
||||
Sets up the receiver
|
||||
@param fileName file name
|
||||
\returns receiver ip or none
|
||||
*/
|
||||
virtual string setupReceiver(string fileName="")=0;
|
||||
|
||||
/** Starts/Stops the receiver
|
||||
@param status status of receiver
|
||||
@param index starting index of data file
|
||||
\returns status
|
||||
*/
|
||||
virtual runStatus startReceiver(string status="",int index=0)=0;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
static const int64_t thisSoftwareVersion=0x20120124;
|
||||
|
||||
Reference in New Issue
Block a user