#include <rs_options.hpp>
Definition at line 11 of file rs_options.hpp.
rs2::options::options |
( |
const options & |
other | ) |
|
|
inline |
virtual rs2::options::~options |
( |
| ) |
|
|
virtualdefault |
float rs2::options::get_option |
( |
rs2_option |
option | ) |
const |
|
inline |
read option's value
- Parameters
-
[in] | option | option id to be queried |
- Returns
- value of the option
Definition at line 72 of file rs_options.hpp.
const char* rs2::options::get_option_description |
( |
rs2_option |
option | ) |
const |
|
inline |
get option description
- Parameters
-
[in] | option | option id to be checked |
- Returns
- human-readable option description
Definition at line 32 of file rs_options.hpp.
const char* rs2::options::get_option_name |
( |
rs2_option |
option | ) |
const |
|
inline |
get option name
- Parameters
-
[in] | option | option id to be checked |
- Returns
- human-readable option name
Definition at line 45 of file rs_options.hpp.
retrieve the available range of values of a supported option
- Returns
- option range containing minimum and maximum values, step and default value
Definition at line 84 of file rs_options.hpp.
const char* rs2::options::get_option_value_description |
( |
rs2_option |
option, |
|
|
float |
val |
|
) |
| const |
|
inline |
get option value description (in case specific option value hold special meaning)
- Parameters
-
[in] | option | option id to be checked |
[in] | val | value of the option |
- Returns
- human-readable description of a specific value of an option or null if no special meaning
Definition at line 59 of file rs_options.hpp.
std::vector<rs2_option> rs2::options::get_supported_options |
( |
| ) |
|
|
inline |
bool rs2::options::is_option_read_only |
( |
rs2_option |
option | ) |
const |
|
inline |
check if particular option is read-only
- Parameters
-
[in] | option | option id to be checked |
- Returns
- true if option is read-only
Definition at line 111 of file rs_options.hpp.
template<class T >
options& rs2::options::operator= |
( |
const T & |
dev | ) |
|
|
inlineprotected |
void rs2::options::set_option |
( |
rs2_option |
option, |
|
|
float |
value |
|
) |
| const |
|
inline |
write new value to the option
- Parameters
-
[in] | option | option id to be queried |
[in] | value | new value for the option |
Definition at line 99 of file rs_options.hpp.
bool rs2::options::supports |
( |
rs2_option |
option | ) |
const |
|
inline |
check if particular option is supported
- Parameters
-
[in] | option | option id to be checked |
- Returns
- true if option is supported
Definition at line 19 of file rs_options.hpp.
The documentation for this class was generated from the following file: