Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <rs_context.hpp>
Public Types | |
enum | uninitialized_t { uninitialized } |
Public Member Functions | |
context (uninitialized_t) | |
context (char const *json_settings=nullptr) | |
context (std::string const &json_settings) | |
operator bool () const | |
device_list | query_devices () const |
device_list | query_devices (int mask) 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) |
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 |
default librealsense context class includes realsense API version as provided by RS2_API_VERSION macro
|
inline |
|
inline |
|
inline |
|
inline |
|
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 |
|
inlineexplicit |
|
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 |
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 |
|
inline |
|
friend |
|
friend |
|
friend |
|
protected |