mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
getRunStatus becomes purely virtual in slsDetector and returns already the runStatus type variable
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@14 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -2231,7 +2231,7 @@ int slsDetector::startReadOut(){
|
||||
|
||||
|
||||
|
||||
int slsDetector::getRunStatus(){
|
||||
/*int slsDetector::getRunStatus(){
|
||||
int fnum=F_GET_RUN_STATUS;
|
||||
int retval;
|
||||
int ret=FAIL;
|
||||
@ -2257,6 +2257,7 @@ int slsDetector::getRunStatus(){
|
||||
|
||||
|
||||
};
|
||||
*/
|
||||
|
||||
int* slsDetector::readFrame(){
|
||||
|
||||
@ -2598,7 +2599,7 @@ int64_t slsDetector::getTimeLeft(timerIndex index){
|
||||
std::cout<< "Detector returned error: " << mess << std::endl;
|
||||
} else {
|
||||
controlSocket->ReceiveDataOnly(&retval,sizeof(retval));
|
||||
thisDetector->timerValue[index]=retval;
|
||||
// thisDetector->timerValue[index]=retval;
|
||||
}
|
||||
controlSocket->Disconnect();
|
||||
}
|
||||
|
@ -896,7 +896,7 @@ typedef struct sharedSlsDetector {
|
||||
get run status
|
||||
\returns status mask
|
||||
*/
|
||||
int getRunStatus();
|
||||
virtual runStatus getRunStatus()=0;
|
||||
|
||||
/**
|
||||
start detector acquisition and read all data putting them a data queue
|
||||
|
Reference in New Issue
Block a user