#include <options.h>
Public Member Functions | |
void | create_snapshot (std::shared_ptr< options_interface > &snapshot) const override |
void | enable_recording (std::function< void(const options_interface &)> record_action) override |
option & | get_option (rs2_option id) override |
const option & | get_option (rs2_option id) const override |
std::shared_ptr< option > | get_option_handler (rs2_option id) |
std::shared_ptr< option > | get_option_handler (rs2_option id) const |
virtual const char * | get_option_name (rs2_option option) const override |
std::vector< rs2_option > | get_supported_options () const override |
void | register_option (rs2_option id, std::shared_ptr< option > option) |
bool | supports_option (rs2_option id) const override |
void | unregister_option (rs2_option id) |
void | update (std::shared_ptr< extension_snapshot > ext) override |
Public Member Functions inherited from librealsense::options_interface | |
virtual | ~options_interface ()=default |
Public Member Functions inherited from librealsense::recordable< options_interface > | |
virtual | ~recordable ()=default |
Public Member Functions inherited from librealsense::extension_snapshot | |
virtual | ~extension_snapshot ()=default |
Protected Attributes | |
std::map< rs2_option, std::shared_ptr< option > > | _options |
std::function< void(const options_interface &)> | _recording_function = [](const options_interface&) {} |
|
inlineoverridevirtual |
Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call
Implements librealsense::recordable< options_interface >.
|
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< options_interface >.
|
inlineoverridevirtual |
Implements librealsense::options_interface.
Reimplemented in librealsense::record_sensor.
|
inlineoverridevirtual |
Implements librealsense::options_interface.
Reimplemented in librealsense::record_sensor.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements librealsense::options_interface.
Reimplemented in librealsense::zero_order.
|
overridevirtual |
Implements librealsense::options_interface.
Reimplemented in librealsense::l500_depth_sensor.
Definition at line 197 of file option.cpp.
|
inline |
|
inlineoverridevirtual |
Implements librealsense::options_interface.
Reimplemented in librealsense::record_sensor.
|
inline |
|
inlineoverridevirtual |
Implements librealsense::extension_snapshot.
|
protected |
|
protected |