Struct rs2_option_value

Struct Documentation

struct rs2_option_value

The value of an option, in a known option type.

Public Members

rs2_option id
int is_valid

0 if no value available; 1 otherwise

rs2_option_type type
char const *as_string

valid only while rs2_option_value is alive!

float as_float
int64_t as_integer

including boolean value

union rs2_option_value::[anonymous] [anonymous]