#include <rs_context.hpp>
device_hub class - encapsulate the handling of connect and disconnect events
◆ device_hub()
rs2::device_hub::device_hub |
( |
context |
ctx | ) |
|
|
inlineexplicit |
◆ is_connected()
bool rs2::device_hub::is_connected |
( |
const device & |
dev | ) |
const |
|
inline |
Checks if device is still connected
◆ wait_for_device()
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
The documentation for this class was generated from the following file: