#include <rs_context.hpp>
device_hub class - encapsulate the handling of connect and disconnect events
◆ device_hub() [1/2]
rs2::device_hub::device_hub |
( |
context |
ctx | ) |
|
|
inlineexplicit |
◆ device_hub() [2/2]
◆ is_connected()
bool rs2::device_hub::is_connected |
( |
const device & |
dev | ) |
const |
|
inline |
Checks if device is still connected
◆ operator std::shared_ptr< rs2_device_hub >()
◆ 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:
- C:/jenkins_sys_rsbuild/workspace/LRS_doxygen_pipeline/source/include/librealsense2/hpp/rs_context.hpp