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


Public Member Functions | |
| recording_context (const std::string &filename, const std::string §ion="", rs2_recording_mode mode=RS2_RECORDING_MODE_BLANK_FRAMES) | |
| create librealsense context that will try to record all operations over librealsense into a file More... | |
| recording_context ()=delete | |
| recording_context (const std::string &filename, const std::string §ion="", rs2_recording_mode mode=RS2_RECORDING_MODE_BLANK_FRAMES) | |
| create librealsense context that will try to record all operations over librealsense into a file More... | |
| recording_context ()=delete | |
| device_list | query_devices () const |
| create a static snapshot of all connected devices at the time of the call More... | |
| device_list | query_devices (int mask) const |
| create a static snapshot of all connected devices at the time of the call More... | |
| device_list | query_devices () const |
| create a static snapshot of all connected devices at the time of the call More... | |
| device_list | query_devices (int mask) const |
| create a static snapshot of all connected devices at the time of the call More... | |
| std::vector< sensor > | query_all_sensors () const |
| Generate a flat list of all available sensors from all RealSense devices. More... | |
| std::vector< sensor > | query_all_sensors () const |
| Generate a flat list of all available sensors from all RealSense devices. More... | |
| device | get_sensor_parent (const sensor &s) const |
| device | get_sensor_parent (const sensor &s) const |
| template<class T > | |
| void | set_devices_changed_callback (T callback) |
| register devices changed callback More... | |
| template<class T > | |
| void | set_devices_changed_callback (T callback) |
| register devices changed callback More... | |
| playback | load_device (const std::string &file) |
| Creates a device from a RealSense file. More... | |
| playback | load_device (const std::string &file) |
| Creates a device from a RealSense file. More... | |
| void | unload_device (const std::string &file) |
| void | unload_device (const std::string &file) |
| void | unload_tracking_module () |
| void | unload_tracking_module () |
| operator std::shared_ptr< rs2_context > () | |
| operator std::shared_ptr< rs2_context > () | |
Protected Attributes | |
| std::shared_ptr< rs2_context > | _context |
|
inline |
create librealsense context that will try to record all operations over librealsense into a file
| [in] | filename | string representing the name of the file to record |
Definition at line 21 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_internal.hpp.
References rs2::context::_context, rs2::error::handle(), RS2_API_VERSION, rs2_create_recording_context(), and rs2_delete_context().
|
delete |
|
inline |
create librealsense context that will try to record all operations over librealsense into a file
| [in] | filename | string representing the name of the file to record |
Definition at line 21 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_internal.hpp.
References rs2::context::_context, rs2::error::handle(), RS2_API_VERSION, rs2_create_recording_context(), and rs2_delete_context().
|
delete |
Definition at line 154 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::sensor::_sensor, rs2::error::handle(), rs2_create_device_from_sensor(), and rs2_delete_device().
Definition at line 154 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::sensor::_sensor, rs2::error::handle(), rs2_create_device_from_sensor(), and rs2_delete_device().
|
inlineinherited |
Creates a device from a RealSense file.
On successful load, the device will be appended to the context and a devices_changed event triggered
| file | Path to a RealSense File |
Definition at line 184 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), rs2_context_add_device(), and rs2_delete_device().
|
inlineinherited |
Creates a device from a RealSense file.
On successful load, the device will be appended to the context and a devices_changed event triggered
| file | Path to a RealSense File |
Definition at line 184 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), rs2_context_add_device(), and rs2_delete_device().
|
inlineexplicitinherited |
Definition at line 212 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
|
inlineexplicitinherited |
Definition at line 212 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context.
|
inlineinherited |
Generate a flat list of all available sensors from all RealSense devices.
Definition at line 142 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::query_devices().
|
inlineinherited |
Generate a flat list of all available sensors from all RealSense devices.
Definition at line 142 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::query_devices().
|
inlineinherited |
create a static snapshot of all connected devices at the time of the call
Definition at line 112 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), rs2_delete_device_list(), and rs2_query_devices().
Referenced by rs2::context::query_all_sensors().
|
inlineinherited |
create a static snapshot of all connected devices at the time of the call
Definition at line 112 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), rs2_delete_device_list(), and rs2_query_devices().
|
inlineinherited |
create a static snapshot of all connected devices at the time of the call
Definition at line 127 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), rs2_delete_device_list(), and rs2_query_devices_ex().
|
inlineinherited |
create a static snapshot of all connected devices at the time of the call
Definition at line 127 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), rs2_delete_device_list(), and rs2_query_devices_ex().
|
inlineinherited |
register devices changed callback
| [in] | callback | devices changed callback |
Definition at line 169 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), absl::move(), and rs2_set_devices_changed_callback_cpp().
|
inlineinherited |
register devices changed callback
| [in] | callback | devices changed callback |
Definition at line 169 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), absl::move(), and rs2_set_devices_changed_callback_cpp().
|
inlineinherited |
Definition at line 195 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), and rs2_context_remove_device().
|
inlineinherited |
Definition at line 195 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), and rs2_context_remove_device().
|
inlineinherited |
Definition at line 202 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), and rs2_context_unload_tracking_module().
|
inlineinherited |
Definition at line 202 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References rs2::context::_context, rs2::error::handle(), and rs2_context_unload_tracking_module().
|
protectedinherited |
Definition at line 218 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
Referenced by rs2::software_device::add_to(), rs2::context::context(), rs2::device_hub::device_hub(), rs2::context::load_device(), rs2::mock_context::mock_context(), rs2::context::operator std::shared_ptr< rs2_context >(), rs2::context::query_devices(), recording_context(), rs2::context::set_devices_changed_callback(), rs2::context::unload_device(), and rs2::context::unload_tracking_module().