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

#include <ds5-options.h>

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

Public Member Functions

 alternating_emitter_option (hw_monitor &hwm, sensor_base *depth_ep, bool is_fw_version_using_id)
 
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 ~alternating_emitter_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
 
bool _is_fw_version_using_id
 
lazy< option_range_range
 
std::function< void(const option &)> _record_action = [](const option&) {}
 
sensor_base_sensor
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::alternating_emitter_option::alternating_emitter_option ( hw_monitor hwm,
sensor_base depth_ep,
bool  is_fw_version_using_id 
)

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

virtual librealsense::alternating_emitter_option::~alternating_emitter_option ( )
virtualdefault

Member Function Documentation

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

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

Implements librealsense::option.

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

virtual option_range librealsense::alternating_emitter_option::get_range ( ) const
inlineoverridevirtual

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

Member Data Documentation

hw_monitor& librealsense::alternating_emitter_option::_hwm
private

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

bool librealsense::alternating_emitter_option::_is_fw_version_using_id
private

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

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

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

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

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

sensor_base* librealsense::alternating_emitter_option::_sensor
private

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