Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <context.h>
Public Member Functions | |
context (backend_type type, const char *filename=nullptr, const char *section=nullptr, rs2_recording_mode mode=RS2_RECORDING_MODE_COUNT) | |
void | stop () |
~context () | |
std::vector< std::shared_ptr< device_info > > | query_devices () const |
const platform::backend & | get_backend () const |
uint64_t | register_internal_device_callback (devices_changed_callback_ptr callback) |
void | set_devices_changed_callback (devices_changed_callback_ptr callback) |
void | unregister_internal_device_callback (uint64_t cb_id) |
std::vector< std::shared_ptr< device_info > > | create_devices (platform::backend_device_group devices, const std::map< std::string, std::shared_ptr< device_info >> &playback_devices) const |
std::shared_ptr< device_interface > | add_device (const std::string &file) |
void | remove_device (const std::string &file) |
|
explicit |
librealsense::context::~context | ( | ) |
std::shared_ptr<device_interface> librealsense::context::add_device | ( | const std::string & | file | ) |
std::vector<std::shared_ptr<device_info> > librealsense::context::create_devices | ( | platform::backend_device_group | devices, |
const std::map< std::string, std::shared_ptr< device_info >> & | playback_devices | ||
) | const |
|
inline |
std::vector<std::shared_ptr<device_info> > librealsense::context::query_devices | ( | ) | const |
uint64_t librealsense::context::register_internal_device_callback | ( | devices_changed_callback_ptr | callback | ) |
void librealsense::context::remove_device | ( | const std::string & | file | ) |
void librealsense::context::set_devices_changed_callback | ( | devices_changed_callback_ptr | callback | ) |
|
inline |
void librealsense::context::unregister_internal_device_callback | ( | uint64_t | cb_id | ) |