#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 |
float | query () const override |
void | set (float value) override |
uvc_pu_option (uvc_sensor &ep, rs2_option id) | |
uvc_pu_option (uvc_sensor &ep, rs2_option id, const std::map< float, std::string > &description_per_value) | |
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 |
Private Attributes | |
const std::map< float, std::string > | _description_per_value |
uvc_sensor & | _ep |
rs2_option | _id |
std::function< void(const option &)> | _record = [](const option&) {} |
|
inline |
|
inline |
|
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 >.
|
overridevirtual |
Implements librealsense::option.
Definition at line 86 of file option.cpp.
|
overridevirtual |
Implements librealsense::option.
Definition at line 66 of file option.cpp.
|
inlineoverridevirtual |
Reimplemented from librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
overridevirtual |
Implements librealsense::option.
Definition at line 53 of file option.cpp.
|
overridevirtual |
Implements librealsense::option.
Definition at line 42 of file option.cpp.
|
private |
|
private |
|
private |