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

auto_disabling_control class provided a control that disable auto-control when changing the auto disabling control value More...

#include <option.h>

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

Public Member Functions

 auto_disabling_control (std::shared_ptr< option > auto_disabling, std::shared_ptr< option > affected_option, std::vector< float > move_to_manual_values={1.f}, float manual_value=0.f)
 
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_affected_control
 
float _manual_value
 
std::vector< float > _move_to_manual_values
 

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

auto_disabling_control class provided a control that disable auto-control when changing the auto disabling control value

Definition at line 590 of file option.h.

Constructor & Destructor Documentation

librealsense::auto_disabling_control::auto_disabling_control ( std::shared_ptr< option auto_disabling,
std::shared_ptr< option affected_option,
std::vector< float >  move_to_manual_values = { 1.f },
float  manual_value = 0.f 
)
inlineexplicit

Definition at line 593 of file option.h.

Member Function Documentation

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

Reimplemented from librealsense::proxy_option.

Definition at line 601 of file option.h.

Member Data Documentation

std::weak_ptr<option> librealsense::auto_disabling_control::_affected_control
private

Definition at line 626 of file option.h.

float librealsense::auto_disabling_control::_manual_value
private

Definition at line 628 of file option.h.

std::vector<float> librealsense::auto_disabling_control::_move_to_manual_values
private

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