#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 |
bool | is_enabled () const override |
float | query () const override |
void | set (float value) override |
struct_field_option (std::shared_ptr< struct_interface< T, R, W >> struct_interface, U T::*field, const option_range &range) | |
Public Member Functions inherited from librealsense::option | |
virtual void | create_snapshot (std::shared_ptr< option > &snapshot) const |
virtual const char * | get_value_description (float) const |
virtual bool | is_read_only () const |
virtual | ~option ()=default |
Public Member Functions inherited from librealsense::recordable< option > | |
virtual | ~recordable ()=default |
Private Attributes | |
U T::* | _field |
option_range | _range |
std::function< void(const option &)> | _recording_function = [](const option&) {} |
std::shared_ptr< struct_interface< T, R, W > > | _struct_interface |
|
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 |
Implements librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
private |
|
private |
|
private |
|
private |