Intel® RealSense™ Cross Platform API
2.13.0
Intel Realsense Cross-platform API
|
#include <rs_context.hpp>
Public Member Functions | |
context () | |
device_list | query_devices () const |
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) |
playback | load_device (const std::string &file) |
void | unload_device (const std::string &file) |
Protected Member Functions | |
context (std::shared_ptr< rs2_context > ctx) | |
Protected Attributes | |
std::shared_ptr< rs2_context > | _context |
Friends | |
class | rs2::pipeline |
class | rs2::device_hub |
default librealsense context class includes realsense API version as provided by RS2_API_VERSION macro
|
inline |
|
inlineprotected |
|
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 |
|
inline |
Generate a flat list of all available sensors from all RealSense devices.
|
inline |
create a static snapshot of all connected devices at the time of the call
|
inline |
register devices changed callback
[in] | callback | devices changed callback |
|
inline |
|
friend |
|
friend |
|
protected |