Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | List of all members
librealsense::depth_scale_option Class Reference

#include <ds5-options.h>

Inheritance diagram for librealsense::depth_scale_option:
librealsense::option librealsense::recordable< option >

Public Member Functions

 depth_scale_option (hw_monitor &hwm)
 
virtual ~depth_scale_option ()=default
 
virtual void set (float value) override
 
virtual float query () const override
 
virtual option_range get_range () const override
 
virtual bool is_enabled () const override
 
const char * get_description () const override
 
void enable_recording (std::function< void(const option &)> record_action)
 
- Public Member Functions inherited from librealsense::option
virtual bool is_read_only () const
 
virtual const char * get_value_description (float) const
 
virtual void create_snapshot (std::shared_ptr< option > &snapshot) const override
 
virtual ~option ()=default
 
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default
 

Constructor & Destructor Documentation

§ depth_scale_option()

librealsense::depth_scale_option::depth_scale_option ( hw_monitor hwm)

§ ~depth_scale_option()

virtual librealsense::depth_scale_option::~depth_scale_option ( )
virtualdefault

Member Function Documentation

§ enable_recording()

void librealsense::depth_scale_option::enable_recording ( std::function< void(const option &)>  recording_function)
inlinevirtual

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 >.

§ get_description()

const char* librealsense::depth_scale_option::get_description ( ) const
inlineoverridevirtual

Implements librealsense::option.

§ get_range()

virtual option_range librealsense::depth_scale_option::get_range ( ) const
overridevirtual

Implements librealsense::option.

§ is_enabled()

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

Implements librealsense::option.

§ query()

virtual float librealsense::depth_scale_option::query ( ) const
overridevirtual

Implements librealsense::option.

§ set()

virtual void librealsense::depth_scale_option::set ( float  value)
overridevirtual

Implements librealsense::option.


The documentation for this class was generated from the following file: