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

#include <advanced_mode.h>

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

Public Member Functions

 advanced_mode_preset_option (ds5_advanced_mode_base &advanced, synthetic_sensor &ep, const option_range &opt_range)
 
const char * get_description () 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
 
- 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
 

Static Public Member Functions

static rs2_rs400_visual_preset to_preset (float x)
 

Private Member Functions

uint16_t get_device_pid (const uvc_sensor &sensor) const
 
firmware_version get_firmware_version (const uvc_sensor &sensor) const
 

Private Attributes

ds5_advanced_mode_base_advanced
 
synthetic_sensor_ep
 
rs2_rs400_visual_preset _last_preset
 
std::mutex _mtx
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::option_base
const option_range _opt_range
 
std::function< void(const option &)> _recording_function = [](const option&) {}
 

Detailed Description

Definition at line 258 of file advanced_mode.h.

Constructor & Destructor Documentation

librealsense::advanced_mode_preset_option::advanced_mode_preset_option ( ds5_advanced_mode_base advanced,
synthetic_sensor ep,
const option_range opt_range 
)

Definition at line 857 of file ds5/advanced_mode/advanced_mode.cpp.

Member Function Documentation

const char * librealsense::advanced_mode_preset_option::get_description ( ) const
overridevirtual

Implements librealsense::option.

Definition at line 910 of file ds5/advanced_mode/advanced_mode.cpp.

uint16_t librealsense::advanced_mode_preset_option::get_device_pid ( const uvc_sensor sensor) const
private

Definition at line 926 of file ds5/advanced_mode/advanced_mode.cpp.

firmware_version librealsense::advanced_mode_preset_option::get_firmware_version ( const uvc_sensor sensor) const
private

Definition at line 936 of file ds5/advanced_mode/advanced_mode.cpp.

const char * librealsense::advanced_mode_preset_option::get_value_description ( float  val) const
overridevirtual

Reimplemented from librealsense::option.

Definition at line 915 of file ds5/advanced_mode/advanced_mode.cpp.

bool librealsense::advanced_mode_preset_option::is_enabled ( ) const
overridevirtual

Implements librealsense::option.

Definition at line 905 of file ds5/advanced_mode/advanced_mode.cpp.

float librealsense::advanced_mode_preset_option::query ( void  ) const
overridevirtual

Implements librealsense::option.

Definition at line 900 of file ds5/advanced_mode/advanced_mode.cpp.

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

Implements librealsense::option.

Definition at line 877 of file ds5/advanced_mode/advanced_mode.cpp.

rs2_rs400_visual_preset librealsense::advanced_mode_preset_option::to_preset ( float  x)
static

Definition at line 872 of file ds5/advanced_mode/advanced_mode.cpp.

Member Data Documentation

ds5_advanced_mode_base& librealsense::advanced_mode_preset_option::_advanced
private

Definition at line 277 of file advanced_mode.h.

synthetic_sensor& librealsense::advanced_mode_preset_option::_ep
private

Definition at line 276 of file advanced_mode.h.

rs2_rs400_visual_preset librealsense::advanced_mode_preset_option::_last_preset
private

Definition at line 278 of file advanced_mode.h.

std::mutex librealsense::advanced_mode_preset_option::_mtx
private

Definition at line 275 of file advanced_mode.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