#include <option.h>
Public Member Functions | |
float_option (option_range range) | |
const char * | get_description () const override |
bool | is_enabled () const override |
float | query () const override |
void | set (float value) override |
Public Member Functions inherited from librealsense::option_base | |
virtual void | enable_recording (std::function< void(const option &)> recording_action) override |
option_range | get_range () const override |
bool | is_valid (float value) const |
option_base (const option_range &opt_range) | |
Public Member Functions inherited from librealsense::option | |
virtual void | create_snapshot (std::shared_ptr< option > &snapshot) const |
virtual const char * | get_value_description (float) const |
virtual bool | is_read_only () const |
virtual | ~option ()=default |
Public Member Functions inherited from librealsense::recordable< option > | |
virtual | ~recordable ()=default |
Protected Attributes | |
float | _value |
Protected Attributes inherited from librealsense::option_base | |
const option_range | _opt_range |
std::function< void(const option &)> | _recording_function = [](const option&) {} |
|
inline |
|
inlineoverridevirtual |
Implements librealsense::option.
Reimplemented in librealsense::bool_option, librealsense::readonly_float_option, librealsense::float_option_with_description< T >, librealsense::float_option_with_description< rs2_l500_visual_preset >, and librealsense::float_option_with_description< rs2_sensor_mode >.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
overridevirtual |
Implements librealsense::option.
Reimplemented in librealsense::readonly_float_option.
Definition at line 35 of file option.cpp.