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

class provided a control that changes max distance value when changing min distance value More...

#include <option.h>

Inheritance diagram for librealsense::min_distance_option:
Inheritance graph

Public Member Functions

 min_distance_option (std::shared_ptr< option > min_option, std::shared_ptr< option > max_option)
void set (float value) override
- Public Member Functions inherited from librealsense::proxy_option
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
bool is_read_only () const override
 proxy_option (std::shared_ptr< option > proxy_option)
float query () const override
- Public Member Functions inherited from librealsense::option
virtual void create_snapshot (std::shared_ptr< option > &snapshot) const
virtual ~option ()=default
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default

Private Attributes

std::weak_ptr< option_max_option

Additional Inherited Members

- Protected Attributes inherited from librealsense::proxy_option
std::shared_ptr< option_proxy
std::function< void(const option &)> _recording_function = [](const option&) {}

Detailed Description

class provided a control that changes max distance value when changing min distance value

Definition at line 706 of file option.h.

Constructor & Destructor Documentation

librealsense::min_distance_option::min_distance_option ( std::shared_ptr< option min_option,
std::shared_ptr< option max_option 

Definition at line 709 of file option.h.

Member Function Documentation

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

Reimplemented from librealsense::proxy_option.

Definition at line 714 of file option.h.

Member Data Documentation

std::weak_ptr<option> librealsense::min_distance_option::_max_option

Definition at line 732 of file option.h.

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

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