receiver read freq should save value in shm even if no receiver present

This commit is contained in:
Dhanya Maliakal
2017-11-23 18:21:54 +01:00
parent 5eb8402742
commit 16e4fbf8dd
8 changed files with 40 additions and 47 deletions

View File

@ -768,12 +768,10 @@ virtual ROI* getROI(int &n)=0;
/** Sets the read receiver frequency
if data required from receiver randomly readRxrFrequency=0,
else every nth frame to be sent to gui
@param getFromReceiver is 1 if it should ask the receiver,
0 if it can get it from multi structure
@param freq is the receiver read frequency
/returns read receiver frequency
*/
virtual int setReadReceiverFrequency(int getFromReceiver, int freq=-1)=0;
virtual int setReadReceiverFrequency(int freq=-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