#include <l500-options.h>
Public Member Functions | |
void | enable_recording (std::function< void(const option &)> recording_action) override |
const char * | get_description () const override |
option_range | get_range () const override |
bool | is_enabled () const override |
bool | is_read_only () const override |
l500_hw_options (l500_device *l500_dev, hw_monitor *hw_monitor, l500_control type, option *resolution, const std::string &description, firmware_version fw_version, std::shared_ptr< digital_gain_option > digital_gain) | |
float | query () const override |
float | query_current (rs2_sensor_mode mode) const |
float | query_new_fw_default (bool &success) const |
float | query_old_fw_default () const |
void | set (float value) override |
void | set_default (float def) |
void | set_manually (bool set) |
void | set_read_only (bool read_only) |
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 | ~option ()=default |
Public Member Functions inherited from librealsense::recordable< option > | |
virtual | ~recordable ()=default |
Private Member Functions | |
float | query_default (bool &success) const |
Private Attributes | |
std::string | _description |
std::shared_ptr< digital_gain_option > | _digital_gain |
firmware_version | _fw_version |
uint32_t | _height |
hw_monitor * | _hw_monitor |
bool | _is_read_only |
l500_device * | _l500_dev |
option_range | _range |
option * | _resolution |
l500_control | _type |
bool | _was_set_manually |
uint32_t | _width |
Definition at line 62 of file l500-options.h.
librealsense::l500_hw_options::l500_hw_options | ( | l500_device * | l500_dev, |
hw_monitor * | hw_monitor, | ||
l500_control | type, | ||
option * | resolution, | ||
const std::string & | description, | ||
firmware_version | fw_version, | ||
std::shared_ptr< digital_gain_option > | digital_gain | ||
) |
Definition at line 58 of file l500-options.cpp.
|
overridevirtual |
Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves
Implements librealsense::recordable< option >.
Definition at line 124 of file l500-options.cpp.
|
inlineoverridevirtual |
Implements librealsense::option.
Definition at line 73 of file l500-options.h.
|
overridevirtual |
Implements librealsense::option.
Definition at line 40 of file l500-options.cpp.
|
inlineoverridevirtual |
Implements librealsense::option.
Definition at line 71 of file l500-options.h.
|
inlineoverridevirtual |
Reimplemented from librealsense::option.
Definition at line 93 of file l500-options.h.
|
overridevirtual |
Implements librealsense::option.
Definition at line 20 of file l500-options.cpp.
float librealsense::l500_hw_options::query_current | ( | rs2_sensor_mode | mode | ) | const |
Definition at line 190 of file l500-options.cpp.
|
private |
Definition at line 45 of file l500-options.cpp.
float librealsense::l500_hw_options::query_new_fw_default | ( | bool & | success | ) | const |
Definition at line 130 of file l500-options.cpp.
float librealsense::l500_hw_options::query_old_fw_default | ( | ) | const |
Definition at line 166 of file l500-options.cpp.
|
overridevirtual |
Implements librealsense::option.
Definition at line 25 of file l500-options.cpp.
void librealsense::l500_hw_options::set_default | ( | float | def | ) |
Definition at line 109 of file l500-options.cpp.
void librealsense::l500_hw_options::set_manually | ( | bool | set | ) |
Definition at line 119 of file l500-options.cpp.
void librealsense::l500_hw_options::set_read_only | ( | bool | read_only | ) |
Definition at line 114 of file l500-options.cpp.
|
private |
Definition at line 108 of file l500-options.h.
|
private |
Definition at line 110 of file l500-options.h.
|
private |
Definition at line 109 of file l500-options.h.
|
private |
Definition at line 106 of file l500-options.h.
|
private |
Definition at line 103 of file l500-options.h.
|
private |
Definition at line 111 of file l500-options.h.
|
private |
Definition at line 102 of file l500-options.h.
|
private |
Definition at line 104 of file l500-options.h.
|
private |
Definition at line 107 of file l500-options.h.
|
private |
Definition at line 101 of file l500-options.h.
|
private |
Definition at line 112 of file l500-options.h.
|
private |
Definition at line 105 of file l500-options.h.