in between

This commit is contained in:
Dhanya Maliakal
2017-11-16 16:01:31 +01:00
parent a89265faf8
commit 4097c37b31
6 changed files with 88 additions and 9 deletions

View File

@ -439,13 +439,38 @@ class slsDetectorUsers
virtual void finalizeDataset(double *a, double *v, double *e, int &np);
/**
Enable data streaming from receiver (zmq)
\param i 1 to set, 0 to reset and -1 to get
\returns data streaming enable
*/
/** Enable or disable streaming data from receiver (creates transmitting sockets)
* @param enable 0 to disable 1 to enable -1 to only get the value
* @returns data streaming from receiver enable
*/
int enableDataStreamingFromReceiver(int i=-1);
/**
* Enable data streaming to client (creates receiving sockets)
* @param i 0 to disable, 1 to enable, -1 to get the value
* @returns data streaming to client enable
*/
int enableDataStreamingToClient(int i=-1);
/**
* Set/Get receiver streaming out ZMQ port
* If imod is -1, when setting it calculates and sets the port for all individual detectors
* and when getting it returns only the port of individual detector in first position
* @param i sets, -1 gets
* @param imod module index, -1 for all
* @returns receiver streaming out ZMQ port ()
*/
int setReceiverDataStreamingOutPort(int i, int imod=-1);
/**
* Set/Get client streaming in ZMQ port
* If imod is -1, when setting it calculates and sets the port for all individual detectors
* and when getting it returns only the port of individual detector in first position
* @param i sets, -1 gets
* @param imod module index, -1 for all
* @returns client streaming in ZMQ port
*/
int setClientDataStreamingInPort(int i, int imod=-1);
/**
get get Module Firmware Version