default librealsense context class includes realsense API version as provided by RS2_API_VERSION macro
Definition at line 96 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.

Public Member Functions | |
| context () | |
| 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... | |
| device | get_sensor_parent (const sensor &s) const |
| 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... | |
| void | unload_device (const std::string &file) |
| void | unload_tracking_module () |
| context (std::shared_ptr< rs2_context > ctx) | |
| operator std::shared_ptr< rs2_context > () | |
| context () | |
| 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... | |
| device | get_sensor_parent (const sensor &s) const |
| 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... | |
| void | unload_device (const std::string &file) |
| void | unload_tracking_module () |
| context (std::shared_ptr< rs2_context > ctx) | |
| operator std::shared_ptr< rs2_context > () | |
Protected Attributes | |
| std::shared_ptr< rs2_context > | _context |
Friends | |
| class | rs2::pipeline |
| class | rs2::device_hub |
| class | rs2::software_device |
|
inline |
Definition at line 99 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References _context, rs2::error::handle(), RS2_API_VERSION, rs2_create_context(), and rs2_delete_context().
|
inline |
Definition at line 209 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
|
inline |
Definition at line 99 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References _context, rs2::error::handle(), RS2_API_VERSION, rs2_create_context(), and rs2_delete_context().
|
inline |
Definition at line 209 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
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().
|
inline |
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 _context, rs2::error::handle(), rs2_context_add_device(), and rs2_delete_device().
|
inline |
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 _context, rs2::error::handle(), rs2_context_add_device(), and rs2_delete_device().
|
inlineexplicit |
Definition at line 212 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
|
inlineexplicit |
Definition at line 212 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References _context.
|
inline |
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 query_devices().
|
inline |
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 query_devices().
|
inline |
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 _context, rs2::error::handle(), rs2_delete_device_list(), and rs2_query_devices().
|
inline |
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 _context, rs2::error::handle(), rs2_delete_device_list(), and rs2_query_devices().
Referenced by query_all_sensors().
|
inline |
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 _context, rs2::error::handle(), rs2_delete_device_list(), and rs2_query_devices_ex().
|
inline |
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 _context, rs2::error::handle(), rs2_delete_device_list(), and rs2_query_devices_ex().
|
inline |
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 _context, rs2::error::handle(), absl::move(), and rs2_set_devices_changed_callback_cpp().
|
inline |
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 _context, rs2::error::handle(), absl::move(), and rs2_set_devices_changed_callback_cpp().
|
inline |
Definition at line 195 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References _context, rs2::error::handle(), and rs2_context_remove_device().
|
inline |
Definition at line 195 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References _context, rs2::error::handle(), and rs2_context_remove_device().
|
inline |
Definition at line 202 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References _context, rs2::error::handle(), and rs2_context_unload_tracking_module().
|
inline |
Definition at line 202 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
References _context, rs2::error::handle(), and rs2_context_unload_tracking_module().
|
friend |
Definition at line 215 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
|
friend |
Definition at line 212 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
|
friend |
Definition at line 216 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
|
protected |
Definition at line 218 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_context.hpp.
Referenced by rs2::software_device::add_to(), context(), rs2::device_hub::device_hub(), load_device(), rs2::mock_context::mock_context(), operator std::shared_ptr< rs2_context >(), query_devices(), rs2::recording_context::recording_context(), set_devices_changed_callback(), unload_device(), and unload_tracking_module().