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

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

#include <option.h>

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

Public Member Functions

 max_distance_option (std::shared_ptr< option > max_option, std::shared_ptr< option > min_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_min_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 min distance value when changing max distance value

Definition at line 675 of file option.h.

Constructor & Destructor Documentation

librealsense::max_distance_option::max_distance_option ( std::shared_ptr< option max_option,
std::shared_ptr< option min_option 
)
inlineexplicit

Definition at line 678 of file option.h.

Member Function Documentation

void librealsense::max_distance_option::set ( float  value)
inlineoverridevirtual

Reimplemented from librealsense::proxy_option.

Definition at line 683 of file option.h.

Member Data Documentation

std::weak_ptr<option> librealsense::max_distance_option::_min_option
private

Definition at line 701 of file option.h.


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


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