added a new function checkOnline to check individually if det is connected

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@243 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-09-10 09:31:32 +00:00
parent 6902585e24
commit ef8455ced6
4 changed files with 57 additions and 5 deletions

View File

@ -356,6 +356,13 @@ class multiSlsDetector : public slsDetectorUtils {
\returns online/offline status
*/
int setOnline(int const online=GET_ONLINE_FLAG);
/** checks if each of the detectors are online
\returns online/offline status and -1 if any of the detector's online status is different from the other
*/
int checkOnline();
/**
\returns 1 if the detector structure has already be initlialized with the given id and belongs to this multiDetector instance, 0 otherwise */
int exists();