#include <option.h>
Public Member Functions | |
void | enable_recording (std::function< void(const option &)> record_action) override |
const char * | get_description () const override |
option_range | get_range () const override |
const char * | get_value_description (float val) const override |
bool | is_enabled () const override |
bool | is_read_only () const override |
proxy_option (std::shared_ptr< option > proxy_option) | |
float | query () const override |
virtual void | set (float value) override |
Public Member Functions inherited from librealsense::option | |
virtual void | create_snapshot (std::shared_ptr< option > &snapshot) const |
virtual | ~option ()=default |
Public Member Functions inherited from librealsense::recordable< option > | |
virtual | ~recordable ()=default |
Protected Attributes | |
std::shared_ptr< option > | _proxy |
std::function< void(const option &)> | _recording_function = [](const option&) {} |
Wrapper for another option – forwards all API calls to the proxied option such that specific functionality can be easily overriden
|
inlineexplicit |
|
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 >.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Reimplemented from librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Reimplemented from librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
Reimplemented in librealsense::min_distance_option, librealsense::max_distance_option, librealsense::gated_option, and librealsense::auto_disabling_control.
|
protected |