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

#include <l500-options.h>

Inheritance diagram for librealsense::digital_gain_option:
Inheritance graph
[legend]

Public Member Functions

 digital_gain_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description, const std::map< float, std::string > &description_per_value, firmware_version fw_version, l500_options *owner)
 
option_range get_range () const override
 
void set (float value) override
 
void set_by_preset (float value)
 
- Public Member Functions inherited from librealsense::uvc_xu_option< T >
void enable_recording (std::function< void(const option &)> record_action) override
 
const char * get_description () const override
 
option_range get_range () const override
 
const char * get_value_description (float val) const override
 
bool is_enabled () const override
 
float query () const override
 
void set (float value) override
 
 uvc_xu_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description)
 
 uvc_xu_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description, const std::map< float, std::string > &description_per_value)
 
- 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
 

Private Member Functions

void work_around_for_old_fw ()
 

Private Attributes

firmware_version _fw_version
 
l500_options_owner
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::uvc_xu_option< T >
std::string _desciption
 
const std::map< float, std::string_description_per_value
 
uvc_sensor_ep
 
uint8_t _id
 
std::function< void(const option &)> _recording_function = [](const option&) {}
 
platform::extension_unit _xu
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::digital_gain_option::digital_gain_option ( uvc_sensor ep,
platform::extension_unit  xu,
uint8_t  id,
std::string  description,
const std::map< float, std::string > &  description_per_value,
firmware_version  fw_version,
l500_options owner 
)
inline

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

Member Function Documentation

option_range librealsense::digital_gain_option::get_range ( ) const
overridevirtual

Implements librealsense::option.

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

void librealsense::digital_gain_option::set ( float  value)
overridevirtual

Implements librealsense::option.

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

void librealsense::digital_gain_option::set_by_preset ( float  value)

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

void librealsense::digital_gain_option::work_around_for_old_fw ( )
private

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

Member Data Documentation

firmware_version librealsense::digital_gain_option::_fw_version
private

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

l500_options* librealsense::digital_gain_option::_owner
private

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


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


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