37 std::shared_ptr<device_interface>
wait_for_device(
const std::chrono::milliseconds&
timeout = std::chrono::milliseconds(std::chrono::hours(1)),
38 bool loop_through_devices =
true,
46 std::shared_ptr<librealsense::context>
get_context();
50 std::shared_ptr<librealsense::context>
_ctx;
52 std::condition_variable
_cv;
device_hub(std::shared_ptr< librealsense::context > ctx, int mask=RS2_PRODUCT_LINE_ANY, int vid=0, bool register_device_notifications=true)
bool is_connected(const device_interface &dev)
GLsizei const GLchar *const * string
std::condition_variable _cv
std::shared_ptr< device_interface > create_device(const std::string &serial, bool cycle_devices=true)
unsigned __int64 uint64_t
std::shared_ptr< librealsense::context > _ctx
std::shared_ptr< device_interface > wait_for_device(const std::chrono::milliseconds &timeout=std::chrono::milliseconds(std::chrono::hours(1)), bool loop_through_devices=true, const std::string &serial="")
#define RS2_PRODUCT_LINE_ANY
uint64_t _device_changes_callback_id
GLbitfield GLuint64 timeout
std::vector< std::shared_ptr< device_info > > _device_list
std::shared_ptr< librealsense::context > get_context()
bool _register_device_notifications