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

#include <l500-options.h>

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

Public Member Functions

rs2_l500_visual_preset calc_preset_from_controls () const
 
void change_preset (rs2_l500_visual_preset preset)
 
std::vector< rs2_optionget_advanced_controls ()
 
 l500_options (std::shared_ptr< context > ctx, const platform::backend_device_group &group)
 
void move_to_custom ()
 
void reset_hw_controls ()
 
void set_preset_value (rs2_l500_visual_preset preset)
 
void update_defaults ()
 
- Public Member Functions inherited from librealsense::l500_device
std::vector< uint8_tbackup_flash (update_progress_callback_ptr callback) override
 
virtual void configure_depth_options ()
 
std::shared_ptr< synthetic_sensorcreate_depth_device (std::shared_ptr< context > ctx, const std::vector< platform::uvc_device_info > &all_device_infos)
 
void create_snapshot (std::shared_ptr< debug_interface > &snapshot) const override
 
void enable_recording (std::function< void(const debug_interface &)> record_action) override
 
void enter_update_state () const override
 
virtual l500_color_sensorget_color_sensor ()=0
 
l500_depth_sensorget_depth_sensor ()
 
double get_device_time_ms () override
 
uvc_sensorget_raw_depth_sensor ()
 
synthetic_sensorget_synthetic_depth_sensor ()
 
ivcam2::extended_temperatures get_temperatures () const
 
void hardware_reset () override
 
 l500_device (std::shared_ptr< context > ctx, const platform::backend_device_group &group)
 
void notify_of_calibration_change (rs2_calibration_status status)
 
void register_calibration_change_callback (calibration_change_callback_ptr callback) override
 
std::vector< uint8_tsend_receive_raw_data (const std::vector< uint8_t > &input) override
 
void trigger_device_calibration (rs2_calibration_type) override
 
void update_flash (const std::vector< uint8_t > &image, update_progress_callback_ptr callback, int update_mode) override
 
void update_flash_internal (std::shared_ptr< hw_monitor > hwm, const std::vector< uint8_t > &image, std::vector< uint8_t > &flash_backup, update_progress_callback_ptr callback, int update_mode)
 
void update_flash_section (std::shared_ptr< hw_monitor > hwm, const std::vector< uint8_t > &image, uint32_t offset, uint32_t size, update_progress_callback_ptr callback, float continue_from, float ratio)
 
void update_section (std::shared_ptr< hw_monitor > hwm, const std::vector< uint8_t > &merged_image, flash_section fs, uint32_t tables_size, update_progress_callback_ptr callback, float continue_from, float ratio)
 
- Public Member Functions inherited from librealsense::device
virtual bool compress_while_record () const override
 
virtual bool contradicts (const stream_profile_interface *a, const std::vector< stream_profile > &others) const override
 
virtual std::shared_ptr< matchercreate_matcher (const frame_holder &frame) const override
 
size_t find_sensor_idx (const sensor_interface &s) const
 
std::shared_ptr< contextget_context () const override
 
platform::backend_device_group get_device_data () const override
 
std::pair< uint32_t, rs2_extrinsicsget_extrinsics (const stream_interface &stream) const override
 
sensor_interfaceget_sensor (size_t subdevice) override
 
const sensor_interfaceget_sensor (size_t subdevice) const override
 
size_t get_sensors_count () const override
 
bool is_valid () const override
 
virtual void stop_activity () const
 
void tag_profiles (stream_profiles profiles) const override
 
virtual ~device ()
 
- Public Member Functions inherited from librealsense::device_interface
virtual std::vector< tagged_profileget_profiles_tags () const =0
 
virtual ~device_interface ()=default
 
- Public Member Functions inherited from librealsense::info_interface
virtual ~info_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< info_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::info_container
void create_snapshot (std::shared_ptr< info_interface > &snapshot) const override
 
void enable_recording (std::function< void(const info_interface &)> record_action) override
 
const std::stringget_info (rs2_camera_info info) const override
 
void register_info (rs2_camera_info info, const std::string &val)
 
bool supports_info (rs2_camera_info info) const override
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
void update_info (rs2_camera_info info, const std::string &val)
 
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
 
- Public Member Functions inherited from librealsense::recordable< debug_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::global_time_interface
virtual void create_snapshot (std::shared_ptr< global_time_interface > &snapshot) const override
 
virtual void enable_recording (std::function< void(const global_time_interface &)> record_action) override
 
void enable_time_diff_keeper (bool is_enable)
 
 global_time_interface ()
 
 ~global_time_interface ()
 
- Public Member Functions inherited from librealsense::recordable< global_time_interface >
virtual ~recordable ()=default
 

Private Member Functions

void change_alt_ir (rs2_l500_visual_preset preset)
 
void change_gain (rs2_l500_visual_preset preset)
 
void change_laser_power (rs2_l500_visual_preset preset)
 
void on_set_option (rs2_option opt, float value)
 
template<typename T , class... Args>
std::shared_ptr< cascade_option< T > > register_option (rs2_option opt, Args...args)
 
void set_max_laser ()
 
void set_preset_controls_to_defaults ()
 

Private Attributes

std::shared_ptr< l500_hw_options_alt_ir
 
std::shared_ptr< digital_gain_option_digital_gain
 
std::map< rs2_option, std::shared_ptr< cascade_option< l500_hw_options > > > _hw_options
 
std::shared_ptr< l500_preset_option_preset
 

Additional Inherited Members

- Protected Member Functions inherited from librealsense::l500_device
void force_hardware_reset () const
 
command get_firmware_logs_command () const
 
command get_flash_logs_command () const
 
void start_temperatures_reader ()
 
void stop_temperatures_reader ()
 
- Protected Member Functions inherited from librealsense::device
int add_sensor (const std::shared_ptr< sensor_interface > &sensor_base)
 
int assign_sensor (const std::shared_ptr< sensor_interface > &sensor_base, uint8_t idx)
 
 device (std::shared_ptr< context > ctx, const platform::backend_device_group group, bool device_changed_notifications=false)
 
std::vector< rs2_formatmap_supported_color_formats (rs2_format source_format)
 
void register_stream_to_extrinsic_group (const stream_interface &stream, uint32_t groupd_index)
 
- Protected Attributes inherited from librealsense::l500_device
std::vector< rs2_option_advanced_options
 
std::shared_ptr< ivcam2::ac_trigger_autocal
 
lazy< ivcam2::intrinsic_depth_calib_table
 
std::vector< calibration_change_callback_ptr_calibration_change_callbacks
 
std::shared_ptr< stream_interface_confidence_stream
 
uint8_t _depth_device_idx
 
std::shared_ptr< stream_interface_depth_stream
 
firmware_version _fw_version
 
std::atomic_bool _have_temperatures { false }
 
std::shared_ptr< hw_monitor_hw_monitor
 
std::shared_ptr< stream_interface_ir_stream
 
bool _is_locked = true
 
std::atomic_bool _keep_reading_temperature { false }
 
std::shared_ptr< polling_error_handler_polling_error_handler
 
std::mutex _temperature_mutex
 
std::thread _temperature_reader
 
ivcam2::extended_temperatures _temperatures
 
platform::usb_spec _usb_mode
 
- Protected Attributes inherited from librealsense::device
std::map< int, std::pair< uint32_t, std::shared_ptr< const stream_interface > > > _extrinsics
 
- Protected Attributes inherited from librealsense::global_time_interface
std::shared_ptr< time_diff_keeper_tf_keeper
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::l500_options::l500_options ( std::shared_ptr< context ctx,
const platform::backend_device_group group 
)

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

Member Function Documentation

rs2_l500_visual_preset librealsense::l500_options::calc_preset_from_controls ( ) const

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

void librealsense::l500_options::change_alt_ir ( rs2_l500_visual_preset  preset)
private

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

void librealsense::l500_options::change_gain ( rs2_l500_visual_preset  preset)
private

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

void librealsense::l500_options::change_laser_power ( rs2_l500_visual_preset  preset)
private

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

void librealsense::l500_options::change_preset ( rs2_l500_visual_preset  preset)

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

std::vector< rs2_option > librealsense::l500_options::get_advanced_controls ( )

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

void librealsense::l500_options::move_to_custom ( )

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

void librealsense::l500_options::on_set_option ( rs2_option  opt,
float  value 
)
private

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

template<typename T , class... Args>
std::shared_ptr<cascade_option<T> > librealsense::l500_options::register_option ( rs2_option  opt,
Args...  args 
)
inlineprivate

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

void librealsense::l500_options::reset_hw_controls ( )

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

void librealsense::l500_options::set_max_laser ( )
private

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

void librealsense::l500_options::set_preset_controls_to_defaults ( )
private

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

void librealsense::l500_options::set_preset_value ( rs2_l500_visual_preset  preset)

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

void librealsense::l500_options::update_defaults ( )

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

Member Data Documentation

std::shared_ptr< l500_hw_options > librealsense::l500_options::_alt_ir
private

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

std::shared_ptr< digital_gain_option > librealsense::l500_options::_digital_gain
private

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

std::map<rs2_option, std::shared_ptr<cascade_option<l500_hw_options> > > librealsense::l500_options::_hw_options
private

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

std::shared_ptr< l500_preset_option > librealsense::l500_options::_preset
private

Definition at line 195 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