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

#include <l500-options.h>

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

Public Member Functions

 sensor_mode_option (l500_device *l500_depth_dev, option_range range, std::string description)
 
void set (float value) override
 
- Public Member Functions inherited from librealsense::float_option_with_description< rs2_sensor_mode >
 float_option_with_description (option_range range, std::string description)
 
const char * get_description () const override
 
- Public Member Functions inherited from librealsense::float_option
 float_option (option_range range)
 
bool is_enabled () const override
 
float query () const override
 
void set (float value) override
 
- Public Member Functions inherited from librealsense::option_base
virtual void enable_recording (std::function< void(const option &)> recording_action) override
 
option_range get_range () const override
 
bool is_valid (float value) const
 
 option_base (const option_range &opt_range)
 
- 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
 
- Public Member Functions inherited from librealsense::option_description
 option_description (std::string description)
 
- Public Member Functions inherited from librealsense::enum_option< rs2_sensor_mode >
const char * get_value_description (float val) const override
 
- Public Member Functions inherited from librealsense::observable_option
void add_observer (std::function< void(float)> callback)
 
void notify (float val)
 

Private Attributes

l500_device_l500_depth_dev
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::float_option
float _value
 
- Protected Attributes inherited from librealsense::option_base
const option_range _opt_range
 
std::function< void(const option &)> _recording_function = [](const option&) {}
 
- Protected Attributes inherited from librealsense::option_description
std::string _description
 

Detailed Description

Definition at line 128 of file l500-options.h.

Constructor & Destructor Documentation

librealsense::sensor_mode_option::sensor_mode_option ( l500_device l500_depth_dev,
option_range  range,
std::string  description 
)
inline

Definition at line 133 of file l500-options.h.

Member Function Documentation

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

Implements librealsense::option.

Definition at line 779 of file l500-options.cpp.

Member Data Documentation

l500_device* librealsense::sensor_mode_option::_l500_depth_dev
private

Definition at line 137 of file l500-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