mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-17 13:08:39 +01:00
UHRIX Callback function
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@476 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
#include "usersFunctions.h"
|
||||
#endif
|
||||
|
||||
#ifdef UHRIXCALLBACK
|
||||
#include "UHRIXCallback.h"
|
||||
#endif
|
||||
|
||||
#include <signal.h> // SIGINT
|
||||
#include <sys/stat.h> // stat
|
||||
#include <sys/socket.h> // socket(), bind(), listen(), accept(), shut down
|
||||
@@ -84,6 +88,10 @@ slsReceiverFunctionList::slsReceiverFunctionList(bool shortfname):
|
||||
//to test write receiver data call back
|
||||
registerWriteReceiverDataCallback(&defaultWriteReceiverDataFunc, NULL);
|
||||
#endif
|
||||
|
||||
#ifdef UHRIXCALLBACK
|
||||
registerWriteReceiverDataCallback(&UHRIXCallbackDataFunc, latestData);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user