Function rs2_set_options_changed_callback_cpp

Function Documentation

void rs2_set_options_changed_callback_cpp(rs2_options *options, rs2_options_changed_callback *callback, rs2_error **error)

Sets a callback in case an option in this options container value is updated

Parameters:
  • options[in] the options container

  • callback[in] callback object created from c++ application. ownership over the callback object is moved to librealsense

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored