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

#include <ds5-options.h>

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

Public Member Functions

virtual void enable_recording (std::function< void(const option &)> record_action) override
 
virtual const char * get_description () const override
 
virtual option_range get_range () const override
 
 hdr_conditional_option (std::shared_ptr< hdr_config > hdr_cfg, std::shared_ptr< option > uvc_option, std::shared_ptr< option > hdr_option)
 
virtual bool is_enabled () const override
 
virtual float query () const override
 
virtual void set (float value) override
 
virtual ~hdr_conditional_option ()=default
 
- Public Member Functions inherited from librealsense::option
virtual void create_snapshot (std::shared_ptr< option > &snapshot) const
 
virtual const char * get_value_description (float) const
 
virtual bool is_read_only () const
 
virtual ~option ()=default
 
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default
 

Private Attributes

std::shared_ptr< hdr_config_hdr_cfg
 
std::shared_ptr< option_hdr_option
 
std::function< void(const option &)> _record_action = [](const option&) {}
 
std::shared_ptr< option_uvc_option
 

Detailed Description

Definition at line 310 of file ds5-options.h.

Constructor & Destructor Documentation

librealsense::hdr_conditional_option::hdr_conditional_option ( std::shared_ptr< hdr_config hdr_cfg,
std::shared_ptr< option uvc_option,
std::shared_ptr< option hdr_option 
)
inline

Definition at line 313 of file ds5-options.h.

virtual librealsense::hdr_conditional_option::~hdr_conditional_option ( )
virtualdefault

Member Function Documentation

virtual void librealsense::hdr_conditional_option::enable_recording ( std::function< void(const option &)>  recording_function)
inlineoverridevirtual

Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves

Implements librealsense::recordable< option >.

Definition at line 326 of file ds5-options.h.

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

Implements librealsense::option.

Definition at line 642 of file ds5-options.cpp.

option_range librealsense::hdr_conditional_option::get_range ( ) const
overridevirtual

Implements librealsense::option.

Definition at line 634 of file ds5-options.cpp.

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

Implements librealsense::option.

Definition at line 650 of file ds5-options.cpp.

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

Implements librealsense::option.

Definition at line 626 of file ds5-options.cpp.

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

Implements librealsense::option.

Definition at line 612 of file ds5-options.cpp.

Member Data Documentation

std::shared_ptr<hdr_config> librealsense::hdr_conditional_option::_hdr_cfg
private

Definition at line 330 of file ds5-options.h.

std::shared_ptr<option> librealsense::hdr_conditional_option::_hdr_option
private

Definition at line 332 of file ds5-options.h.

std::function<void(const option&)> librealsense::hdr_conditional_option::_record_action = [](const option&) {}
private

Definition at line 329 of file ds5-options.h.

std::shared_ptr<option> librealsense::hdr_conditional_option::_uvc_option
private

Definition at line 331 of file ds5-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