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

#include <ds5-options.h>

Inheritance diagram for librealsense::hdr_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
 
virtual const char * get_value_description (float) const override
 
 hdr_option (std::shared_ptr< hdr_config > hdr_cfg, rs2_option option, option_range range)
 
 hdr_option (std::shared_ptr< hdr_config > hdr_cfg, rs2_option option, option_range range, const std::map< float, std::string > &description_per_value)
 
virtual bool is_enabled () const override
 
virtual float query () const override
 
virtual void set (float value) override
 
virtual ~hdr_option ()=default
 
- 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
 

Private Attributes

const std::map< float, std::string_description_per_value
 
std::shared_ptr< hdr_config_hdr_cfg
 
rs2_option _option
 
option_range _range
 
std::function< void(const option &)> _record_action = [](const option&) {}
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::hdr_option::hdr_option ( std::shared_ptr< hdr_config hdr_cfg,
rs2_option  option,
option_range  range 
)
inline

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

librealsense::hdr_option::hdr_option ( std::shared_ptr< hdr_config hdr_cfg,
rs2_option  option,
option_range  range,
const std::map< float, std::string > &  description_per_value 
)
inline

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

virtual librealsense::hdr_option::~hdr_option ( )
virtualdefault

Member Function Documentation

virtual void librealsense::hdr_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 298 of file ds5-options.h.

virtual const char* librealsense::hdr_option::get_description ( ) const
inlineoverridevirtual

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Reimplemented from librealsense::option.

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

virtual bool librealsense::hdr_option::is_enabled ( ) const
inlineoverridevirtual

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

Member Data Documentation

const std::map<float, std::string> librealsense::hdr_option::_description_per_value
private

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

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

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

rs2_option librealsense::hdr_option::_option
private

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

option_range librealsense::hdr_option::_range
private

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

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

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