Public Member Functions | List of all members
librealsense::readonly_option Class Reference

#include <option.h>

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

Public Member Functions

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

Detailed Description

Definition at line 41 of file option.h.

Member Function Documentation

void librealsense::readonly_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 51 of file option.h.

bool librealsense::readonly_option::is_read_only ( ) const
inlineoverridevirtual

Reimplemented from librealsense::option.

Definition at line 44 of file option.h.

void librealsense::readonly_option::set ( float  )
inlineoverridevirtual

Implements librealsense::option.

Definition at line 46 of file option.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:38