#include <rs_context.hpp>
device_hub class - encapsulate the handling of connect and disconnect events
Definition at line 224 of file rs_context.hpp.
rs2::device_hub::device_hub |
( |
context |
ctx | ) |
|
|
inlineexplicit |
bool rs2::device_hub::is_connected |
( |
const device & |
dev | ) |
const |
|
inline |
device rs2::device_hub::wait_for_device |
( |
| ) |
const |
|
inline |
If any device is connected return it, otherwise wait until next RealSense device connects. Calling this method multiple times will cycle through connected devices
Definition at line 240 of file rs_context.hpp.
The documentation for this class was generated from the following file: