#include <option.h>

Public Member Functions | |
| 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 const char * | get_description () const =0 |
| virtual const char * | get_value_description (float) const |
| virtual bool | is_enabled () const =0 |
| virtual bool | is_read_only () const |
| virtual float | query () const =0 |
| virtual void | set (float value)=0 |
| virtual | ~option ()=default |
Public Member Functions inherited from librealsense::recordable< option > | |
| virtual | ~recordable ()=default |
Protected Attributes | |
| const option_range | _opt_range |
| std::function< void(const option &)> | _recording_function = [](const option&) {} |
|
inline |
|
overridevirtual |
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 >.
Reimplemented in librealsense::ivcam2::hw_sync_option, librealsense::ivcam2::freefall_option, librealsense::auto_gain_limit_option, librealsense::auto_exposure_limit_option, librealsense::ptr_option< T >, librealsense::ivcam2::ac_trigger::reset_option, and librealsense::ivcam2::ac_trigger::enabler_option.
Definition at line 25 of file option.cpp.
|
overridevirtual |
Implements librealsense::option.
Definition at line 21 of file option.cpp.
| bool librealsense::option_base::is_valid | ( | float | value | ) | const |
Definition at line 6 of file option.cpp.
|
protected |