defined a default and register call back function to write receiver data

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@473 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-02-26 10:19:05 +00:00
parent 0e9b32fb33
commit 28d2d64f51
7 changed files with 83 additions and 24 deletions

View File

@ -399,7 +399,12 @@ class slsDetectorUsers
void registerRawDataCallback(int( *userCallback)(double* p, int n, void*), void *pArg);
/**
@short register callback for writing receiver data - if the rawDataCallback is registered, no receiver data writing will be carried on automatically by the software - the receiver data are deleted by the software
\param userCallback function for writing the receiver data - p is the pointer to the data, n is the number of bytes to write
*/
void registerWriteReceiverDataCallback(int( *userCallback)(char* p, int n, void*), void *pArg);
/**
@short function to initalize a set of measurements (reset binning if angular conversion, reset summing otherwise) - can be overcome by the user's functions thanks to the virtual property