#include <record_sensor.h>
Public Attributes | |
private | __pad0__: template <typename T> void record_snapshot(rs2_extension extension_type |
private | __pad1__: sensor_interface& m_sensor |
int | m_before_start_callback_token |
frame_callback_ptr | m_frame_callback |
std::atomic_bool | m_is_recording |
bool | m_is_sensor_hooked |
std::mutex | m_mutex |
frame_callback_ptr | m_original_callback |
device_interface & | m_parent_device |
std::set< int > | m_recorded_streams_ids |
std::set< rs2_option > | m_recording_options |
bool | m_register_notification_to_base |
librealsense::notifications_callback_ptr | m_user_notification_callback |
signal< record_sensor, rs2_extension, std::shared_ptr< extension_snapshot > > | on_extension_change |
signal< record_sensor, frame_holder > | on_frame |
signal< record_sensor, const notification & > | on_notification |
private const recordable< T > & | snapshot |
Additional Inherited Members | |
Protected Attributes inherited from librealsense::options_container | |
std::map< rs2_option, std::shared_ptr< option > > | _options |
std::function< void(const options_interface &)> | _recording_function = [](const options_interface&) {} |
Definition at line 15 of file record_sensor.h.
librealsense::record_sensor::record_sensor | ( | device_interface & | device, |
sensor_interface & | sensor | ||
) |
Definition at line 11 of file record_sensor.cpp.
|
virtual |
Definition at line 23 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 68 of file record_sensor.cpp.
void record_sensor::disable_recording | ( | ) |
Definition at line 240 of file record_sensor.cpp.
void record_sensor::disable_sensor_hooks | ( | ) |
Definition at line 268 of file record_sensor.cpp.
void record_sensor::disable_sensor_options_recording | ( | ) |
Definition at line 350 of file record_sensor.cpp.
void record_sensor::enable_sensor_hooks | ( | ) |
Definition at line 259 of file record_sensor.cpp.
void record_sensor::enable_sensor_options_recording | ( | ) |
Definition at line 317 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::extendable_interface.
Definition at line 155 of file record_sensor.cpp.
bool librealsense::record_sensor::extend_to_aux | ( | P * | p, |
void ** | ext | ||
) |
Definition at line 136 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 200 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 185 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 190 of file record_sensor.cpp.
|
overridevirtual |
Reimplemented from librealsense::info_container.
Definition at line 81 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 117 of file record_sensor.cpp.
|
overridevirtual |
Reimplemented from librealsense::options_container.
Definition at line 73 of file record_sensor.cpp.
|
overridevirtual |
Reimplemented from librealsense::options_container.
Definition at line 77 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::recommended_proccesing_blocks_interface.
Definition at line 245 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 58 of file record_sensor.cpp.
void record_sensor::hook_sensor_callbacks | ( | ) |
Definition at line 277 of file record_sensor.cpp.
void librealsense::record_sensor::init | ( | ) |
Definition at line 32 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 130 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 63 of file record_sensor.cpp.
void record_sensor::record_frame | ( | frame_holder | holder | ) |
Definition at line 250 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 205 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 94 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 195 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 122 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 126 of file record_sensor.cpp.
void record_sensor::stop_with_error | ( | const std::string & | message | ) |
Definition at line 228 of file record_sensor.cpp.
|
overridevirtual |
Reimplemented from librealsense::info_container.
Definition at line 85 of file record_sensor.cpp.
|
overridevirtual |
Reimplemented from librealsense::options_container.
Definition at line 89 of file record_sensor.cpp.
void record_sensor::unhook_sensor_callbacks | ( | ) |
Definition at line 304 of file record_sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 210 of file record_sensor.cpp.
frame_callback_ptr librealsense::record_sensor::wrap_frame_callback | ( | frame_callback_ptr | callback | ) |
Definition at line 290 of file record_sensor.cpp.
void record_sensor::wrap_streams | ( | ) |
Definition at line 358 of file record_sensor.cpp.
private librealsense::record_sensor::__pad0__ |
Definition at line 53 of file record_sensor.h.
private librealsense::record_sensor::__pad1__ |
Definition at line 66 of file record_sensor.h.
int librealsense::record_sensor::m_before_start_callback_token |
Definition at line 73 of file record_sensor.h.
frame_callback_ptr librealsense::record_sensor::m_frame_callback |
Definition at line 71 of file record_sensor.h.
std::atomic_bool librealsense::record_sensor::m_is_recording |
Definition at line 70 of file record_sensor.h.
bool librealsense::record_sensor::m_is_sensor_hooked |
Definition at line 75 of file record_sensor.h.
std::mutex librealsense::record_sensor::m_mutex |
Definition at line 77 of file record_sensor.h.
frame_callback_ptr librealsense::record_sensor::m_original_callback |
Definition at line 72 of file record_sensor.h.
device_interface& librealsense::record_sensor::m_parent_device |
Definition at line 74 of file record_sensor.h.
std::set<int> librealsense::record_sensor::m_recorded_streams_ids |
Definition at line 67 of file record_sensor.h.
std::set<rs2_option> librealsense::record_sensor::m_recording_options |
Definition at line 68 of file record_sensor.h.
bool librealsense::record_sensor::m_register_notification_to_base |
Definition at line 76 of file record_sensor.h.
librealsense::notifications_callback_ptr librealsense::record_sensor::m_user_notification_callback |
Definition at line 69 of file record_sensor.h.
signal<record_sensor, rs2_extension, std::shared_ptr<extension_snapshot> > librealsense::record_sensor::on_extension_change |
Definition at line 47 of file record_sensor.h.
signal<record_sensor, frame_holder> librealsense::record_sensor::on_frame |
Definition at line 46 of file record_sensor.h.
signal<record_sensor, const notification&> librealsense::record_sensor::on_notification |
Definition at line 45 of file record_sensor.h.
private const recordable<T>& librealsense::record_sensor::snapshot |
Definition at line 53 of file record_sensor.h.