ZMQDevice::setTimerCallback
(No version information available, might only be in Git)
ZMQDevice::setTimerCallback — Set the timer callback function
Parameters
cb_func
-
Callback function to invoke when the timer fires. Returning false
or a value that evaluates to false from this function will cause the
device to stop.
timeout
-
How often to invoke the timer callback in milliseconds. The timer callback is invoked
periodically.
The timeout value guarantees that there is at least this amount of milliseconds between
invocations of the callback function.
user_data
-
Additional data to pass to the callback function.
Return Values
On success this method returns the current object.