somewhere in between

This commit is contained in:
Dhanya Maliakal
2017-10-03 12:09:31 +02:00
parent 7cde5dbe38
commit 4669d408d4
3 changed files with 33 additions and 46 deletions

View File

@ -153,10 +153,12 @@ class DataStreamer : private virtual slsReceiverDefs, public ThreadObject {
/**
* Create and send Json Header
* @param header header of image
* @param nx number of pixels in x dim
* @param ny number of pixels in y dim
* @param dummy true if its a dummy header
* @returns 0 if error, else 1
*/
int SendHeader(sls_detector_header* header, bool dummy = false);
int SendHeader(sls_detector_header* header, uint32_t nx = 0, uint32_t ny = 0, bool dummy = true);
/** type of thread */
static const std::string TypeName;