fixed time interval in receiveR

This commit is contained in:
Dhanya Maliakal
2016-11-10 14:37:26 +01:00
parent 70326f8b10
commit acb900961a
5 changed files with 41 additions and 3 deletions

View File

@ -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