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:
maliakal_d
2013-02-26 16:31:55 +00:00
parent 3c26cac591
commit bb07b6db7d
4 changed files with 13 additions and 3 deletions

View File

@@ -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
}