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

#include <l500-options.h>

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

Public Member Functions

 l500_preset_option (option_range range, std::string description, l500_options *owner)
 
void set (float value) override
 
void set_value (float value)
 
- Public Member Functions inherited from librealsense::float_option_with_description< rs2_l500_visual_preset >
 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_l500_visual_preset >
const char * get_value_description (float val) const override
 

Private Member Functions

void verify_max_usable_range_restrictions (rs2_option opt, float value)
 

Private Attributes

l500_options_owner
 

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 156 of file l500-options.h.

Constructor & Destructor Documentation

librealsense::l500_preset_option::l500_preset_option ( option_range  range,
std::string  description,
l500_options owner 
)

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

Member Function Documentation

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

Implements librealsense::option.

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

void librealsense::l500_preset_option::set_value ( float  value)

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

void librealsense::l500_preset_option::verify_max_usable_range_restrictions ( rs2_option  opt,
float  value 
)
private

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

Member Data Documentation

l500_options* librealsense::l500_preset_option::_owner
private

Definition at line 165 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:37