#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_xu_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description) | |
uvc_xu_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description, 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 |
Protected Attributes | |
std::string | _desciption |
const std::map< float, std::string > | _description_per_value |
uvc_sensor & | _ep |
uint8_t | _id |
std::function< void(const option &)> | _recording_function = [](const option&) {} |
platform::extension_unit | _xu |
|
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 >.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Reimplemented from librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
Reimplemented in librealsense::protected_xu_option< T >.
|
inlineoverridevirtual |
Implements librealsense::option.
Reimplemented in librealsense::protected_xu_option< T >.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |