|
RealSense Cross Platform API
RealSense Cross-platform API
|
#include <rs_options.hpp>
Public Member Functions | |
| bool | supports (rs2_option option) const |
| const char * | get_option_description (rs2_option option) const |
| const char * | get_option_name (rs2_option option) const |
| const char * | get_option_value_description (rs2_option option, float val) const |
| float | get_option (rs2_option option) const |
| option_value | get_option_value (rs2_option option_id) const |
| option_range | get_option_range (rs2_option option) const |
| void | set_option (rs2_option option, float value) const |
| void | set_option_value (option_value const &value) const |
| bool | is_option_read_only (rs2_option option) const |
| void | on_options_changed (std::function< void(const options_list &) > callback) const |
| std::vector< rs2_option > | get_supported_options () |
| options_list | get_supported_option_values () |
| options & | operator= (const options &other) |
| options (const options &other) | |
| virtual | ~options ()=default |
Protected Member Functions | |
| options (rs2_options *o=nullptr) | |
| template<class T> | |
| options & | operator= (const T &dev) |
|
inline |
|
virtualdefault |
|
inlineexplicitprotected |
|
inline |
read option's float value
| [in] | option | option id to be queried |
|
inline |
get option description
| [in] | option | option id to be checked |
|
inline |
get option name
| [in] | option | option id to be checked |
|
inline |
retrieve the available range of values of a supported option
|
inline |
read option's value
| [in] | option_id | option id to be queried |
|
inline |
get option value description (in case specific option value hold special meaning)
| [in] | option | option id to be checked |
| [in] | val | value of the option |
|
inline |
|
inline |
|
inline |
check if particular option is read-only
| [in] | option | option id to be checked |
|
inline |
sets a callback in case an option in this options container value is updated
| [in] | callback | the callback function |
|
inlineprotected |
|
inline |
write new value to the option
| [in] | option | option id to be queried |
| [in] | value | new value for the option |
|
inline |
write new value to the option
| [in] | option | option id to be queried |
| [in] | value | option (id,type,is_valid,new value) |
|
inline |
check if particular option is supported
| [in] | option | option id to be checked |