4 #ifndef LIBREALSENSE_RS2_OPTIONS_HPP 5 #define LIBREALSENSE_RS2_OPTIONS_HPP 121 std::vector<rs2_option>
res;
123 std::shared_ptr<rs2_options_list> options_list(
159 #endif // LIBREALSENSE_RS2_OIPTIONS_HPP
float rs2_get_option(const rs2_options *options, rs2_option option, rs2_error **error)
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
virtual ~options()=default
options & operator=(const T &dev)
options(const options &other)
std::vector< rs2_option > get_supported_options()
int rs2_supports_option(const rs2_options *options, rs2_option option, rs2_error **error)
const char * rs2_get_option_name(const rs2_options *options, rs2_option option, rs2_error **error)
const char * rs2_get_option_value_description(const rs2_options *options, rs2_option option, float value, rs2_error **error)
const char * get_option_description(rs2_option option) const
const char * get_option_name(rs2_option option) const
bool is_option_read_only(rs2_option option) const
void rs2_get_option_range(const rs2_options *sensor, rs2_option option, float *min, float *max, float *step, float *def, rs2_error **error)
rs2_options_list * rs2_get_options_list(const rs2_options *options, rs2_error **error)
bool supports(rs2_option option) const
static void handle(rs2_error *e)
options(rs2_options *o=nullptr)
const char * rs2_get_option_description(const rs2_options *options, rs2_option option, rs2_error **error)
options & operator=(const options &other)
int rs2_is_option_read_only(const rs2_options *options, rs2_option option, rs2_error **error)
option_range get_option_range(rs2_option option) const
void rs2_set_option(const rs2_options *options, rs2_option option, float value, rs2_error **error)
void rs2_delete_options_list(rs2_options_list *list)
void set_option(rs2_option option, float value) const
float get_option(rs2_option option) const
rs2_option rs2_get_option_from_list(const rs2_options_list *options, int i, rs2_error **error)
const char * get_option_value_description(rs2_option option, float val) const
int rs2_get_options_list_size(const rs2_options_list *options, rs2_error **error)