makng the zmq work without external flag

This commit is contained in:
Dhanya Maliakal
2017-11-27 17:06:18 +01:00
11 changed files with 112 additions and 95 deletions

View File

@@ -211,8 +211,9 @@ class slsDetectorUtils : public slsDetectorActions, public postProcessing {
virtual string getNetworkParameter(networkParameter i)=0;
/**
sets the network parameters (implemented for gotthard)
\param i network parameter type can be RECEIVER_IP, RECEIVER_MAC, SERVER_MAC
sets the network parameters
must restart streaming in client/receiver if to do with zmq after calling this function
\param i network parameter type
\param s value to be set
\returns parameter
@@ -784,6 +785,13 @@ virtual ROI* getROI(int &n)=0;
*/
virtual int setReadReceiverFrequency(int freq=-1)=0;
/**
* Enable data streaming to client
* @param enable 0 to disable, 1 to enable, -1 to get the value
* @returns data streaming to client enable
*/
virtual int enableDataStreamingToClient(int enable=-1)=0;
/** Enable or disable streaming data from receiver to client
* @param enable 0 to disable 1 to enable -1 to only get the value
* @returns data streaming from receiver enable