deepstream-services-library
deepstream-services-library copied to clipboard
Implement new dsl_ode_trigger_limit_frame_get/set services
New services to set/get a frame-limit
for a named ODE Trigger. Similar to the event-limit
, the Trigger will be auto-disabled once the frame limit (if non-zero, default) has been reached.
The limit-listener and
New services
/**
* @brief Gets the current frame limit setting for the ODE Trigger
* @param[in] name unique name of the ODE Trigger to query
* @param[out] limit returns the current trigger frame limit in use
* @return DSL_RESULT_SUCCESS on successful query,
* DSL_RESULT_ODE_TRIGGER_RESULT otherwise.
*/
DslReturnType dsl_ode_trigger_limit_frame_get(const wchar_t* name, uint* limit);
/**
* @brief Sets the frame limit for the named ODE Trigger to use.
* @param[in] name unique name of the ODE Trigger to update
* @param[in] limit new frame limit to use. Setting the limit to a
* value less that the current trigger frame count will effectively
* disable the trigger until reset.
* @return DSL_RESULT_SUCCESS on successful update,
* DSL_RESULT_ODE_TRIGGER_RESULT otherwise.
*/
DslReturnType dsl_ode_trigger_limit_frame_set(const wchar_t* name, uint limit);
Merged into v0.26.alpha