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

#include <ds5-options.h>

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

Public Member Functions

 emitter_always_on_option (hw_monitor &hwm, sensor_base *depth_ep)
 
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 bool is_enabled () const override
 
virtual float query () const override
 
virtual void set (float value) override
 
virtual ~emitter_always_on_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

hw_monitor_hwm
 
lazy< option_range_range
 
std::function< void(const option &)> _record_action = [](const option&) {}
 
sensor_base_sensor
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::emitter_always_on_option::emitter_always_on_option ( hw_monitor hwm,
sensor_base depth_ep 
)

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

virtual librealsense::emitter_always_on_option::~emitter_always_on_option ( )
virtualdefault

Member Function Documentation

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

Member Data Documentation

hw_monitor& librealsense::emitter_always_on_option::_hwm
private

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

lazy<option_range> librealsense::emitter_always_on_option::_range
private

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

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

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

sensor_base* librealsense::emitter_always_on_option::_sensor
private

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