#include <l500-options.h>
Public Member Functions | |
l500_preset_option (option_range range, std::string description, l500_options *owner) | |
void | set (float value) override |
void | set_value (float value) |
Public Member Functions inherited from librealsense::float_option_with_description< rs2_l500_visual_preset > | |
float_option_with_description (option_range range, std::string description) | |
const char * | get_description () const override |
Public Member Functions inherited from librealsense::float_option | |
float_option (option_range range) | |
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 bool | is_read_only () const |
virtual | ~option ()=default |
Public Member Functions inherited from librealsense::recordable< option > | |
virtual | ~recordable ()=default |
Public Member Functions inherited from librealsense::option_description | |
option_description (std::string description) | |
Public Member Functions inherited from librealsense::enum_option< rs2_l500_visual_preset > | |
const char * | get_value_description (float val) const override |
Private Member Functions | |
void | verify_max_usable_range_restrictions (rs2_option opt, float value) |
Private Attributes | |
l500_options * | _owner |
Additional Inherited Members | |
Protected Attributes inherited from librealsense::float_option | |
float | _value |
Protected Attributes inherited from librealsense::option_base | |
const option_range | _opt_range |
std::function< void(const option &)> | _recording_function = [](const option&) {} |
Protected Attributes inherited from librealsense::option_description | |
std::string | _description |
Definition at line 156 of file l500-options.h.
librealsense::l500_preset_option::l500_preset_option | ( | option_range | range, |
std::string | description, | ||
l500_options * | owner | ||
) |
Definition at line 499 of file l500-options.cpp.
|
overridevirtual |
Implements librealsense::option.
Definition at line 504 of file l500-options.cpp.
void librealsense::l500_preset_option::set_value | ( | float | value | ) |
Definition at line 517 of file l500-options.cpp.
|
private |
Definition at line 522 of file l500-options.cpp.
|
private |
Definition at line 165 of file l500-options.h.