#include <info.h>
Public Member Functions | |
void | create_snapshot (std::shared_ptr< info_interface > &snapshot) const override |
void | enable_recording (std::function< void(const info_interface &)> record_action) override |
const std::string & | get_info (rs2_camera_info info) const override |
void | register_info (rs2_camera_info info, const std::string &val) |
bool | supports_info (rs2_camera_info info) const override |
void | update (std::shared_ptr< extension_snapshot > ext) override |
void | update_info (rs2_camera_info info, const std::string &val) |
Public Member Functions inherited from librealsense::info_interface | |
virtual | ~info_interface ()=default |
Public Member Functions inherited from librealsense::recordable< info_interface > | |
virtual | ~recordable ()=default |
Public Member Functions inherited from librealsense::extension_snapshot | |
virtual | ~extension_snapshot ()=default |
Private Attributes | |
std::map< rs2_camera_info, std::string > | _camera_info |
|
overridevirtual |
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< info_interface >.
Definition at line 629 of file sensor.cpp.
|
overridevirtual |
Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves
Implements librealsense::recordable< info_interface >.
Definition at line 633 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::info_interface.
Reimplemented in librealsense::sensor_base, librealsense::record_device, and librealsense::record_sensor.
Definition at line 621 of file sensor.cpp.
void librealsense::info_container::register_info | ( | rs2_camera_info | info, |
const std::string & | val | ||
) |
Definition at line 602 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::info_interface.
Reimplemented in librealsense::sensor_base, librealsense::record_device, and librealsense::record_sensor.
Definition at line 596 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::extension_snapshot.
Definition at line 638 of file sensor.cpp.
void librealsense::info_container::update_info | ( | rs2_camera_info | info, |
const std::string & | val | ||
) |
Definition at line 614 of file sensor.cpp.
|
private |