#include <recorder.h>
Public Member Functions | |
| call & | add_call (lookup_key key) |
| call * | cycle_calls (call_type call_type, int id) |
| call & | find_call (call_type t, int entity_id, std::function< bool(const call &c)> history_match_validation=[](const call &c){return true;}) |
| double | get_time () |
| template<class T > | |
| std::pair< int, int > | insert_list (std::vector< T > list, std::vector< T > &target) |
| std::vector< uint8_t > | load_blob (int id) const |
| void | load_device_changed_data (backend_device_group &old, backend_device_group &curr, lookup_key k) |
| std::vector< hid_device_info > | load_hid_device_info_list () |
| std::vector< hid_sensor > | load_hid_sensors2_list (int entity_id) |
| template<class T > | |
| std::vector< T > | load_list (const std::vector< T > &source, const call &c) |
| template<class T > | |
| std::vector< T > | load_list (const std::vector< T > &source, const int range_start, const int range_end) |
| std::vector< stream_profile > | load_stream_profiles (int id, call_type type) |
| std::vector< usb_device_info > | load_usb_device_info_list () |
| std::vector< uvc_device_info > | load_uvc_device_info_list () |
| call * | pick_next_call (int id=0) |
| recording (std::shared_ptr< time_service > ts=nullptr, std::shared_ptr< playback_device_watcher > watcher=nullptr) | |
| void | save (const char *filename, const char *section, bool append=false) const |
| int | save_blob (const void *ptr, size_t size) |
| void | save_device_changed_data (backend_device_group old, backend_device_group curr, lookup_key k) |
| void | save_device_info_list (std::vector< uvc_device_info > list, lookup_key k) |
| void | save_device_info_list (std::vector< hid_device_info > list, lookup_key k) |
| void | save_device_info_list (std::vector< usb_device_info > list, lookup_key k) |
| void | save_hid_sensors (std::vector< hid_sensor > list, lookup_key key) |
| void | save_hid_sensors2_inputs (std::vector< hid_sensor_input > list, lookup_key key) |
| template<class T > | |
| void | save_list (std::vector< T > list, std::vector< T > &target, call_type type, int entity_id) |
| void | save_stream_profiles (std::vector< stream_profile > list, lookup_key key) |
| size_t | size () const |
Static Public Member Functions | |
| static std::shared_ptr< recording > | load (const char *filename, const char *section, std::shared_ptr< playback_device_watcher > watcher=nullptr, std::string min_api_version="") |
Private Member Functions | |
| double | get_current_time () |
| void | invoke_device_changed_event () |
Private Attributes | |
| double | _curr_time = 0 |
| std::map< size_t, size_t > | _cursors |
| std::map< size_t, size_t > | _cycles |
| std::recursive_mutex | _mutex |
| std::shared_ptr< time_service > | _ts |
| std::shared_ptr< playback_device_watcher > | _watcher |
| std::vector< std::vector< uint8_t > > | blobs |
| std::vector< call > | calls |
| std::vector< hid_device_info > | hid_device_infos |
| std::vector< hid_sensor_input > | hid_sensor_inputs |
| std::vector< hid_sensor > | hid_sensors |
| std::vector< stream_profile > | stream_profiles |
| std::vector< usb_device_info > | usb_device_infos |
| std::vector< uvc_device_info > | uvc_device_infos |
Definition at line 109 of file recorder.h.
| librealsense::platform::recording::recording | ( | std::shared_ptr< time_service > | ts = nullptr, |
| std::shared_ptr< playback_device_watcher > | watcher = nullptr |
||
| ) |
Definition at line 148 of file recorder.cpp.
|
inline |
Definition at line 147 of file recorder.h.
Definition at line 592 of file recorder.cpp.
| call & librealsense::platform::recording::find_call | ( | call_type | t, |
| int | entity_id, | ||
| std::function< bool(const call &c)> | history_match_validation = [](const call& c) {return true; } |
||
| ) |
Definition at line 551 of file recorder.cpp.
|
private |
Definition at line 546 of file recorder.cpp.
| rs2_time_t librealsense::platform::recording::get_time | ( | ) |
Definition at line 166 of file recorder.cpp.
|
inline |
Definition at line 121 of file recorder.h.
|
private |
Definition at line 153 of file recorder.cpp.
|
static |
Definition at line 385 of file recorder.cpp.
|
inline |
Definition at line 291 of file recorder.h.
|
inline |
Definition at line 253 of file recorder.h.
|
inline |
Definition at line 279 of file recorder.h.
|
inline |
Definition at line 285 of file recorder.h.
|
inline |
Definition at line 159 of file recorder.h.
|
inline |
Definition at line 171 of file recorder.h.
|
inline |
Definition at line 247 of file recorder.h.
|
inline |
Definition at line 267 of file recorder.h.
|
inline |
Definition at line 273 of file recorder.h.
| call * librealsense::platform::recording::pick_next_call | ( | int | id = 0 | ) |
Definition at line 585 of file recorder.cpp.
| void librealsense::platform::recording::save | ( | const char * | filename, |
| const char * | section, | ||
| bool | append = false |
||
| ) | const |
Definition at line 171 of file recorder.cpp.
Definition at line 535 of file recorder.cpp.
|
inline |
Definition at line 181 of file recorder.h.
|
inline |
Definition at line 216 of file recorder.h.
|
inline |
Definition at line 221 of file recorder.h.
|
inline |
Definition at line 226 of file recorder.h.
|
inline |
Definition at line 236 of file recorder.h.
|
inline |
Definition at line 241 of file recorder.h.
|
inline |
Definition at line 133 of file recorder.h.
|
inline |
Definition at line 231 of file recorder.h.
|
inline |
Definition at line 299 of file recorder.h.
|
private |
Definition at line 322 of file recorder.h.
Definition at line 315 of file recorder.h.
Definition at line 316 of file recorder.h.
|
private |
Definition at line 312 of file recorder.h.
|
private |
Definition at line 313 of file recorder.h.
|
private |
Definition at line 310 of file recorder.h.
|
private |
Definition at line 303 of file recorder.h.
|
private |
Definition at line 302 of file recorder.h.
|
private |
Definition at line 307 of file recorder.h.
|
private |
Definition at line 309 of file recorder.h.
|
private |
Definition at line 308 of file recorder.h.
|
private |
Definition at line 306 of file recorder.h.
|
private |
Definition at line 305 of file recorder.h.
|
private |
Definition at line 304 of file recorder.h.