adding exptime to receiver for file header

This commit is contained in:
Dhanya Maliakal
2016-11-14 11:57:34 +01:00
parent 45fc87240f
commit e6c7dfc440
6 changed files with 126 additions and 46 deletions

View File

@ -233,6 +233,12 @@ class UDPInterface {
*/
virtual uint64_t getAcquisitionPeriod() const = 0;
/**
* Get Acquisition Time
* @return acquisition time
*/
virtual uint64_t getAcquisitionTime() const = 0;
/*
* Get Number of Frames expected by receiver from detector
* The data receiver status will change from running to idle when it gets this number of frames FIXME: (Not implemented)
@ -399,6 +405,13 @@ class UDPInterface {
*/
virtual int setAcquisitionPeriod(const uint64_t i) = 0;
/**
* Set Acquisition Time
* @param i acquisition time
* @return OK or FAIL
*/
virtual int setAcquisitionTime(const uint64_t i) = 0;
/**
* Set Number of Frames expected by receiver from detector
* The data receiver status will change from running to idle when it gets this number of frames FIXME: (Not implemented)