Definition at line 27 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.


Public Member Functions | |
| playback (device d) | |
| void | pause () |
| Pauses the playback Calling pause() in "Paused" status does nothing If pause() is called while playback status is "Playing" or "Stopped", the playback will not play until resume() is called. More... | |
| void | resume () |
| Un-pauses the playback Calling resume() while playback status is "Playing" or "Stopped" does nothing. More... | |
| std::string | file_name () const |
| Retrieves the name of the playback file. More... | |
| uint64_t | get_position () const |
| Retrieves the current position of the playback in the file in terms of time. More... | |
| std::chrono::nanoseconds | get_duration () const |
| Retrieves the total duration of the file. More... | |
| void | seek (std::chrono::nanoseconds time) |
| Sets the playback to a specified time point of the played data. More... | |
| bool | is_real_time () const |
| Indicates if playback is in real time mode or non real time. More... | |
| void | set_real_time (bool real_time) const |
| Set the playback to work in real time or non real time. More... | |
| void | set_playback_speed (float speed) const |
| Set the playing speed. More... | |
| template<typename T > | |
| void | set_status_changed_callback (T callback) |
| Start passing frames into user provided callback. More... | |
| rs2_playback_status | current_status () const |
| Returns the current state of the playback device. More... | |
| void | stop () |
| Stops the playback, effectively stopping all streaming playback sensors, and resetting the playback. More... | |
| playback (device d) | |
| void | pause () |
| Pauses the playback Calling pause() in "Paused" status does nothing If pause() is called while playback status is "Playing" or "Stopped", the playback will not play until resume() is called. More... | |
| void | resume () |
| Un-pauses the playback Calling resume() while playback status is "Playing" or "Stopped" does nothing. More... | |
| std::string | file_name () const |
| Retrieves the name of the playback file. More... | |
| uint64_t | get_position () const |
| Retrieves the current position of the playback in the file in terms of time. More... | |
| std::chrono::nanoseconds | get_duration () const |
| Retrieves the total duration of the file. More... | |
| void | seek (std::chrono::nanoseconds time) |
| Sets the playback to a specified time point of the played data. More... | |
| bool | is_real_time () const |
| Indicates if playback is in real time mode or non real time. More... | |
| void | set_real_time (bool real_time) const |
| Set the playback to work in real time or non real time. More... | |
| void | set_playback_speed (float speed) const |
| Set the playing speed. More... | |
| template<typename T > | |
| void | set_status_changed_callback (T callback) |
| Start passing frames into user provided callback. More... | |
| rs2_playback_status | current_status () const |
| Returns the current state of the playback device. More... | |
| void | stop () |
| Stops the playback, effectively stopping all streaming playback sensors, and resetting the playback. More... | |
| std::vector< sensor > | query_sensors () const |
| returns the list of adjacent devices, sharing the same physical parent composite device More... | |
| std::vector< sensor > | query_sensors () const |
| returns the list of adjacent devices, sharing the same physical parent composite device More... | |
| template<class T > | |
| T | first () const |
| template<class T > | |
| T | first () const |
| bool | supports (rs2_camera_info info) const |
| check if specific camera info is supported More... | |
| bool | supports (rs2_camera_info info) const |
| check if specific camera info is supported More... | |
| const char * | get_info (rs2_camera_info info) const |
| retrieve camera specific information, like versions of various internal components More... | |
| const char * | get_info (rs2_camera_info info) const |
| retrieve camera specific information, like versions of various internal components More... | |
| void | hardware_reset () |
| send hardware reset request to the device More... | |
| void | hardware_reset () |
| send hardware reset request to the device More... | |
| operator bool () const | |
| operator bool () const | |
| const std::shared_ptr< rs2_device > & | get () const |
| const std::shared_ptr< rs2_device > & | get () const |
| template<class T > | |
| bool | is () const |
| template<class T > | |
| bool | is () const |
| template<class T > | |
| T | as () const |
| template<class T > | |
| T | as () const |
| operator std::shared_ptr< rs2_device > () | |
| operator std::shared_ptr< rs2_device > () | |
Protected Member Functions | |
| playback (std::shared_ptr< rs2_device > dev) | |
| playback (std::shared_ptr< rs2_device > dev) | |
Protected Attributes | |
| friend | context |
| std::shared_ptr< rs2_device > | _dev |
|
inline |
Definition at line 30 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
|
inlineexplicitprotected |
Definition at line 184 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), RS2_EXTENSION_PLAYBACK, rs2_is_device_extendable_to(), and rs2_playback_device_get_file_path().
|
inline |
Definition at line 30 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
|
inlineexplicitprotected |
Definition at line 184 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), RS2_EXTENSION_PLAYBACK, rs2_is_device_extendable_to(), and rs2_playback_device_get_file_path().
|
inlineinherited |
Definition at line 129 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
|
inlineinherited |
Definition at line 129 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
|
inline |
Returns the current state of the playback device.
Definition at line 164 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_get_current_status().
|
inline |
Returns the current state of the playback device.
Definition at line 164 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_get_current_status().
|
inline |
Retrieves the name of the playback file.
Definition at line 59 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
|
inline |
Retrieves the name of the playback file.
Definition at line 59 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
|
inlineinherited |
Definition at line 52 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::query_sensors().
|
inlineinherited |
Definition at line 52 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::query_sensors().
|
inlineinherited |
Definition at line 116 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev.
Referenced by rs2::device_list::contains(), rs2::device_calibration::device_calibration(), rs2::recorder::recorder(), rs2::event_information::was_added(), and rs2::event_information::was_removed().
|
inlineinherited |
Definition at line 116 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev.
|
inline |
Retrieves the total duration of the file.
Definition at line 80 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_get_duration().
|
inline |
Retrieves the total duration of the file.
Definition at line 80 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_get_duration().
|
inlineinherited |
retrieve camera specific information, like versions of various internal components
| [in] | info | camera info type to retrieve |
Definition at line 79 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_get_device_info().
|
inlineinherited |
retrieve camera specific information, like versions of various internal components
| [in] | info | camera info type to retrieve |
Definition at line 79 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_get_device_info().
|
inline |
Retrieves the current position of the playback in the file in terms of time.
Units are expressed in nanoseconds
Definition at line 68 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_get_position().
|
inline |
Retrieves the current position of the playback in the file in terms of time.
Units are expressed in nanoseconds
Definition at line 68 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_get_position().
|
inlineinherited |
send hardware reset request to the device
Definition at line 90 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_hardware_reset().
|
inlineinherited |
send hardware reset request to the device
Definition at line 90 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_hardware_reset().
|
inlineinherited |
Definition at line 122 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
|
inlineinherited |
Definition at line 122 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
|
inline |
Indicates if playback is in real time mode or non real time.
Definition at line 103 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_is_real_time().
|
inline |
Indicates if playback is in real time mode or non real time.
Definition at line 103 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_is_real_time().
|
inlineinherited |
Definition at line 112 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev.
|
inlineinherited |
Definition at line 112 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev.
|
inlineexplicitinherited |
Definition at line 138 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev.
|
inlineexplicitinherited |
Definition at line 138 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev.
|
inline |
Pauses the playback Calling pause() in "Paused" status does nothing If pause() is called while playback status is "Playing" or "Stopped", the playback will not play until resume() is called.
Definition at line 37 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_pause().
|
inline |
Pauses the playback Calling pause() in "Paused" status does nothing If pause() is called while playback status is "Playing" or "Stopped", the playback will not play until resume() is called.
Definition at line 37 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_pause().
|
inlineinherited |
returns the list of adjacent devices, sharing the same physical parent composite device
Definition at line 25 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev, rs2::error::handle(), rs2_create_sensor(), rs2_delete_sensor(), rs2_delete_sensor_list(), rs2_get_sensors_count(), rs2_query_sensors(), and pydeepstreamdoc::tensor::TensorDoc::size.
Referenced by rs2::device::first().
|
inlineinherited |
returns the list of adjacent devices, sharing the same physical parent composite device
Definition at line 25 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev, rs2::error::handle(), rs2_create_sensor(), rs2_delete_sensor(), rs2_delete_sensor_list(), rs2_get_sensors_count(), rs2_query_sensors(), and pydeepstreamdoc::tensor::TensorDoc::size.
|
inline |
Un-pauses the playback Calling resume() while playback status is "Playing" or "Stopped" does nothing.
Definition at line 48 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_resume().
|
inline |
Un-pauses the playback Calling resume() while playback status is "Playing" or "Stopped" does nothing.
Definition at line 48 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_resume().
|
inline |
Sets the playback to a specified time point of the played data.
| [in] | time | The time point to which playback should seek, expressed in units of nanoseconds (zero value = start) |
Definition at line 92 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_seek().
|
inline |
Sets the playback to a specified time point of the played data.
| [in] | time | The time point to which playback should seek, expressed in units of nanoseconds (zero value = start) |
Definition at line 92 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_seek().
|
inline |
Set the playing speed.
| [in] | speed | Indicates a multiplication of the speed to play (e.g: 1 = normal, 0.5 twice as slow) |
Definition at line 133 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_set_playback_speed().
|
inline |
Set the playing speed.
| [in] | speed | Indicates a multiplication of the speed to play (e.g: 1 = normal, 0.5 twice as slow) |
Definition at line 133 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_set_playback_speed().
|
inline |
Set the playback to work in real time or non real time.
In real time mode, playback will play the same way the file was recorded. In real time mode if the application takes too long to handle the callback, frames may be dropped. In non real time mode, playback will wait for each callback to finish handling the data before reading the next frame. In this mode no frames will be dropped, and the application controls the frame rate of the playback (according to the callback handler duration).
| [in] | real_time | Indicates if real time is requested, 0 means false, otherwise true |
Definition at line 122 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_set_real_time().
|
inline |
Set the playback to work in real time or non real time.
In real time mode, playback will play the same way the file was recorded. In real time mode if the application takes too long to handle the callback, frames may be dropped. In non real time mode, playback will wait for each callback to finish handling the data before reading the next frame. In this mode no frames will be dropped, and the application controls the frame rate of the playback (according to the callback handler duration).
| [in] | real_time | Indicates if real time is requested, 0 means false, otherwise true |
Definition at line 122 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_set_real_time().
|
inline |
Start passing frames into user provided callback.
| [in] | callback | Stream callback, can be any callable object accepting rs2::frame Register to receive callback from playback device upon its status changes |
Callbacks are invoked from the reading thread, and as such any heavy processing in the callback handler will affect the reading thread and may cause frame drops\ high latency
| [in] | callback | A callback handler that will be invoked when the playback status changes, can be any callable object accepting rs2_playback_status |
Definition at line 153 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), absl::move(), and rs2_playback_device_set_status_changed_callback().
|
inline |
Start passing frames into user provided callback.
| [in] | callback | Stream callback, can be any callable object accepting rs2::frame Register to receive callback from playback device upon its status changes |
Callbacks are invoked from the reading thread, and as such any heavy processing in the callback handler will affect the reading thread and may cause frame drops\ high latency
| [in] | callback | A callback handler that will be invoked when the playback status changes, can be any callable object accepting rs2_playback_status |
Definition at line 153 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), absl::move(), and rs2_playback_device_set_status_changed_callback().
|
inline |
Stops the playback, effectively stopping all streaming playback sensors, and resetting the playback.
Definition at line 176 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_stop().
|
inline |
Stops the playback, effectively stopping all streaming playback sensors, and resetting the playback.
Definition at line 176 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_playback_device_stop().
|
inlineinherited |
check if specific camera info is supported
| [in] | info | the parameter to check for support |
Definition at line 66 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_supports_device_info().
|
inlineinherited |
check if specific camera info is supported
| [in] | info | the parameter to check for support |
Definition at line 66 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
References rs2::device::_dev, rs2::error::handle(), and rs2_supports_device_info().
|
protectedinherited |
Definition at line 146 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_device.hpp.
Referenced by rs2::software_device::add_sensor(), rs2::software_device::add_to(), rs400::advanced_mode::advanced_mode(), rs2::auto_calibrated_device::auto_calibrated_device(), rs2::calibration_change_device::calibration_change_device(), rs2::updatable::check_firmware_compatibility(), rs2::tm2::connect_controller(), rs2::updatable::create_flash_backup(), rs2::software_device::create_matcher(), rs2::firmware_logger::create_message(), rs2::firmware_logger::create_parsed_message(), current_status(), rs2::debug_protocol::debug_protocol(), rs2::device_calibration::device_calibration(), rs2::tm2::disable_loopback(), rs2::tm2::disconnect_controller(), rs2::tm2::enable_loopback(), rs2::updatable::enter_update_state(), rs2::recorder::filename(), rs2::firmware_logger::firmware_logger(), rs2::device::get(), rs400::advanced_mode::get_ae_control(), rs400::advanced_mode::get_amp_factor(), rs2::auto_calibrated_device::get_calibration_table(), rs400::advanced_mode::get_census(), rs400::advanced_mode::get_color_control(), rs400::advanced_mode::get_color_correction(), rs400::advanced_mode::get_depth_control(), rs400::advanced_mode::get_depth_table(), get_duration(), rs2::firmware_logger::get_firmware_log(), rs2::firmware_logger::get_flash_log(), rs400::advanced_mode::get_hdad(), rs2::device::get_info(), rs2::firmware_logger::get_number_of_fw_logs(), get_position(), rs400::advanced_mode::get_rau_support_vector_control(), rs400::advanced_mode::get_rau_thresholds_control(), rs400::advanced_mode::get_rsm(), rs400::advanced_mode::get_slo_color_thresholds_control(), rs400::advanced_mode::get_slo_penalty_control(), rs2::device::hardware_reset(), rs2::firmware_logger::init_parser(), rs2::device_hub::is_connected(), rs400::advanced_mode::is_enabled(), rs2::tm2::is_loopback_enabled(), is_real_time(), rs2::serializable_device::load_json(), rs2::device::operator bool(), rs2::device::operator std::shared_ptr< rs2_device >(), rs2::device::operator=(), rs2::firmware_logger::parse_log(), pause(), rs2::recorder::pause(), playback(), rs2::device::query_sensors(), rs2::recorder::recorder(), rs2::calibration_change_device::register_calibration_change_callback(), rs2::software_device::register_info(), rs2::calibrated_device::reset_to_factory_calibration(), resume(), rs2::recorder::resume(), rs2::auto_calibrated_device::run_on_chip_calibration(), rs2::auto_calibrated_device::run_tare_calibration(), seek(), rs2::debug_protocol::send_and_receive_raw_data(), rs2::serializable_device::serializable_device(), rs2::serializable_device::serialize_json(), rs400::advanced_mode::set_ae_control(), rs400::advanced_mode::set_amp_factor(), rs2::auto_calibrated_device::set_calibration_table(), rs400::advanced_mode::set_census(), rs400::advanced_mode::set_color_control(), rs400::advanced_mode::set_color_correction(), rs400::advanced_mode::set_depth_control(), rs400::advanced_mode::set_depth_table(), rs2::software_device::set_destruction_callback(), rs400::advanced_mode::set_hdad(), set_playback_speed(), rs400::advanced_mode::set_rau_support_vector_control(), rs400::advanced_mode::set_rau_thresholds_control(), set_real_time(), rs400::advanced_mode::set_rsm(), rs400::advanced_mode::set_slo_color_thresholds_control(), rs400::advanced_mode::set_slo_penalty_control(), set_status_changed_callback(), stop(), rs2::device::supports(), rs2::tm2::tm2(), rs400::advanced_mode::toggle_advanced_mode(), rs2::device_calibration::trigger_device_calibration(), rs2::updatable::updatable(), rs2::update_device::update(), rs2::update_device::update_device(), rs2::software_device::update_info(), rs2::updatable::update_unsigned(), and rs2::calibrated_device::write_calibration().
|
protected |
Definition at line 183 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_record_playback.hpp.