Public Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::l500_hw_options Class Reference

#include <l500-options.h>

Inheritance diagram for librealsense::l500_hw_options:
Inheritance graph

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
bool _is_read_only
option_range _range
l500_control _type
bool _was_set_manually
uint32_t _width

Detailed Description

Definition at line 62 of file l500-options.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void librealsense::l500_hw_options::enable_recording ( std::function< void(const option &)>  recording_function)

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.

const char* librealsense::l500_hw_options::get_description ( ) const

Implements librealsense::option.

Definition at line 73 of file l500-options.h.

option_range librealsense::l500_hw_options::get_range ( ) const

Implements librealsense::option.

Definition at line 40 of file l500-options.cpp.

bool librealsense::l500_hw_options::is_enabled ( ) const

Implements librealsense::option.

Definition at line 71 of file l500-options.h.

bool librealsense::l500_hw_options::is_read_only ( ) const

Reimplemented from librealsense::option.

Definition at line 93 of file l500-options.h.

float librealsense::l500_hw_options::query ( void  ) const

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.

float librealsense::l500_hw_options::query_default ( bool &  success) const

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.

void librealsense::l500_hw_options::set ( float  value)

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.

Member Data Documentation

std::string librealsense::l500_hw_options::_description

Definition at line 108 of file l500-options.h.

std::shared_ptr< digital_gain_option > librealsense::l500_hw_options::_digital_gain

Definition at line 110 of file l500-options.h.

firmware_version librealsense::l500_hw_options::_fw_version

Definition at line 109 of file l500-options.h.

uint32_t librealsense::l500_hw_options::_height

Definition at line 106 of file l500-options.h.

hw_monitor* librealsense::l500_hw_options::_hw_monitor

Definition at line 103 of file l500-options.h.

bool librealsense::l500_hw_options::_is_read_only

Definition at line 111 of file l500-options.h.

l500_device* librealsense::l500_hw_options::_l500_dev

Definition at line 102 of file l500-options.h.

option_range librealsense::l500_hw_options::_range

Definition at line 104 of file l500-options.h.

option* librealsense::l500_hw_options::_resolution

Definition at line 107 of file l500-options.h.

l500_control librealsense::l500_hw_options::_type

Definition at line 101 of file l500-options.h.

bool librealsense::l500_hw_options::_was_set_manually

Definition at line 112 of file l500-options.h.

uint32_t librealsense::l500_hw_options::_width

Definition at line 105 of file l500-options.h.

The documentation for this class was generated from the following files:

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37