removing the return value usage in start acquisition callback, callbacks will be called if registered, and we will write files if file write enabled

This commit is contained in:
Dhanya Maliakal
2017-03-24 13:41:56 +01:00
parent e450f5ec6a
commit 86490226ed
7 changed files with 29 additions and 44 deletions

View File

@ -56,7 +56,7 @@ public:
@sort register calbback for starting the acquisition
\param func callback to be called when starting the acquisition. Its arguments are filepath, filename, fileindex, datasize
\returns 0 callback takes care of open,close,write file; 1 we open, close, write file, callback does not do anything
\return value is insignificant at the moment, we write depending on file write enable, users get data to write depending on call backs registered
*/
void registerCallBackStartAcquisition(int (*func)(char* filepath, char* filename, uint64_t fileindex, uint32_t datasize, void*),void *arg);