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

#include <ds5-options.h>

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

Public Member Functions

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

Private Attributes

std::function< void(const option &)> _recording_function = [](const option&) {}
 
std::shared_ptr< ds5_thermal_monitor_thermal_monitor
 
std::shared_ptr< option_thermal_toggle
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::thermal_compensation::thermal_compensation ( std::shared_ptr< ds5_thermal_monitor monitor,
std::shared_ptr< option toggle 
)

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

Member Function Documentation

void librealsense::thermal_compensation::create_snapshot ( std::shared_ptr< option > &  snapshot) const
overridevirtual

Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call

Reimplemented from librealsense::option.

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

void librealsense::thermal_compensation::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 399 of file ds5-options.h.

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

Implements librealsense::option.

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

option_range librealsense::thermal_compensation::get_range ( ) const
inlineoverridevirtual

Implements librealsense::option.

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

const char * librealsense::thermal_compensation::get_value_description ( float  value) const
overridevirtual

Reimplemented from librealsense::option.

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

bool librealsense::thermal_compensation::is_enabled ( ) const
inlineoverridevirtual

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

Member Data Documentation

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

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

std::shared_ptr<ds5_thermal_monitor> librealsense::thermal_compensation::_thermal_monitor
private

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

std::shared_ptr<option> librealsense::thermal_compensation::_thermal_toggle
private

Definition at line 406 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:38