|
Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <playback_sensor.h>
Public Types | |
| using | frame_interface_callback_t = std::function< void(frame_holder)> |
Public Member Functions | |
| playback_sensor (const device_interface &parent_device, const device_serializer::sensor_snapshot &sensor_description) | |
| virtual | ~playback_sensor () |
| stream_profiles | get_stream_profiles () const override |
| void | open (const stream_profiles &requests) override |
| void | close () override |
| void | register_notifications_callback (notifications_callback_ptr callback) override |
| notifications_callback_ptr | get_notifications_callback () const override |
| void | start (frame_callback_ptr callback) override |
| void | stop () override |
| bool | is_streaming () const override |
| bool | extend_to (rs2_extension extension_type, void **ext) override |
| const device_interface & | get_device () override |
| void | handle_frame (frame_holder frame, bool is_real_time) |
| void | update_option (rs2_option id, std::shared_ptr< option > option) |
| void | stop (bool invoke_required) |
| void | flush_pending_frames () |
| void | update (const device_serializer::sensor_snapshot &sensor_snapshot) |
| frame_callback_ptr | get_frames_callback () const override |
| void | set_frames_callback (frame_callback_ptr callback) override |
| stream_profiles | get_active_streams () const override |
| int | register_before_streaming_changes_callback (std::function< void(bool)> callback) override |
| void | unregister_before_start_callback (int token) override |
| void | raise_notification (const notification &n) |
Public Member Functions inherited from librealsense::sensor_interface | |
| virtual | ~sensor_interface ()=default |
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::options_interface | |
| virtual | ~options_interface ()=default |
Public Member Functions inherited from librealsense::recordable< options_interface > | |
| virtual | ~recordable ()=default |
Public Member Functions inherited from librealsense::extendable_interface | |
| virtual | ~extendable_interface ()=default |
Public Member Functions inherited from librealsense::info_container | |
| const std::string & | get_info (rs2_camera_info info) const override |
| bool | supports_info (rs2_camera_info info) const override |
| void | register_info (rs2_camera_info info, const std::string &val) |
| void | update_info (rs2_camera_info info, const std::string &val) |
| void | create_snapshot (std::shared_ptr< info_interface > &snapshot) const override |
| void | enable_recording (std::function< void(const info_interface &)> record_action) override |
| void | update (std::shared_ptr< extension_snapshot > ext) override |
Public Member Functions inherited from librealsense::extension_snapshot | |
| virtual | ~extension_snapshot ()=default |
Public Member Functions inherited from librealsense::options_container | |
| bool | supports_option (rs2_option id) const override |
| option & | get_option (rs2_option id) override |
| const option & | get_option (rs2_option id) const override |
| void | register_option (rs2_option id, std::shared_ptr< option > option) |
| void | unregister_option (rs2_option id) |
| void | create_snapshot (std::shared_ptr< options_interface > &snapshot) const override |
| void | enable_recording (std::function< void(const options_interface &)> record_action) override |
| void | update (std::shared_ptr< extension_snapshot > ext) override |
Public Attributes | |
| signal< playback_sensor, uint32_t, frame_callback_ptr > | started |
| signal< playback_sensor, uint32_t, bool > | stopped |
| signal< playback_sensor, const std::vector< device_serializer::stream_identifier > &> | opened |
| signal< playback_sensor, const std::vector< device_serializer::stream_identifier > &> | closed |
| using librealsense::playback_sensor::frame_interface_callback_t = std::function<void(frame_holder)> |
| librealsense::playback_sensor::playback_sensor | ( | const device_interface & | parent_device, |
| const device_serializer::sensor_snapshot & | sensor_description | ||
| ) |
|
virtual |
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::extendable_interface.
| void librealsense::playback_sensor::flush_pending_frames | ( | ) |
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
| void librealsense::playback_sensor::handle_frame | ( | frame_holder | frame, |
| bool | is_real_time | ||
| ) |
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
| void librealsense::playback_sensor::raise_notification | ( | const notification & | n | ) |
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
|
overridevirtual |
Implements librealsense::sensor_interface.
| void librealsense::playback_sensor::stop | ( | bool | invoke_required | ) |
|
overridevirtual |
Implements librealsense::sensor_interface.
| void librealsense::playback_sensor::update | ( | const device_serializer::sensor_snapshot & | sensor_snapshot | ) |
| void librealsense::playback_sensor::update_option | ( | rs2_option | id, |
| std::shared_ptr< option > | option | ||
| ) |
| signal<playback_sensor, const std::vector<device_serializer::stream_identifier>& > librealsense::playback_sensor::closed |
| signal<playback_sensor, const std::vector<device_serializer::stream_identifier>& > librealsense::playback_sensor::opened |
| signal<playback_sensor, uint32_t, frame_callback_ptr> librealsense::playback_sensor::started |
| signal<playback_sensor, uint32_t, bool> librealsense::playback_sensor::stopped |
1.8.14