mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
fixed time interval in receiveR
This commit is contained in:
@ -214,6 +214,13 @@ class UDPInterface {
|
||||
*/
|
||||
virtual uint32_t getFrameToGuiFrequency() const = 0;
|
||||
|
||||
/**
|
||||
* Gets the timer between frames streamed when frequency is set to 0
|
||||
* @return timer between frames streamed
|
||||
*/
|
||||
virtual uint32_t getFrameToGuiTimer() const = 0;
|
||||
|
||||
|
||||
/**
|
||||
* Get the data stream enable
|
||||
* @return 1 to send via zmq, else 0
|
||||
@ -372,6 +379,12 @@ class UDPInterface {
|
||||
*/
|
||||
virtual int setFrameToGuiFrequency(const uint32_t freq) = 0;
|
||||
|
||||
/**
|
||||
* Sets the timer between frames streamed when frequency is set to 0
|
||||
* @param time_in_ms timer between frames streamed
|
||||
*/
|
||||
virtual void setFrameToGuiTimer(const uint32_t time_in_ms) = 0;
|
||||
|
||||
/**
|
||||
* Set the data stream enable
|
||||
* @param enable 0 to disable, 1 to enable
|
||||
|
Reference in New Issue
Block a user