mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
included exitReceiver, using different threads to listen and write packets in receiver, edited circularfifo to use pointer references, and acquire returns frames caught
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@362 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -3808,3 +3808,21 @@ string multiSlsDetector::getReceiverLastClientIP() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int multiSlsDetector::exitReceiver() {
|
||||
|
||||
int ival=FAIL, iv;
|
||||
for (int idet=0; idet<thisMultiDetector->numberOfDetectors; idet++) {
|
||||
if (detectors[idet]) {
|
||||
iv=detectors[idet]->exitReceiver();
|
||||
if (iv==OK)
|
||||
ival=iv;
|
||||
}
|
||||
}
|
||||
return ival;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1112,6 +1112,11 @@ class multiSlsDetector : public slsDetectorUtils {
|
||||
*/
|
||||
string getReceiverLastClientIP();
|
||||
|
||||
/**
|
||||
Turns off the receiver server!
|
||||
*/
|
||||
int exitReceiver();
|
||||
|
||||
|
||||
int fillModuleMask(int *mM);
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user