|
RealSense Cross Platform API
RealSense Cross-platform API
|
#include <rs_context.hpp>
Public Member Functions | |
| device_hub (context ctx) | |
| device | wait_for_device () const |
| bool | is_connected (const device &dev) const |
| operator std::shared_ptr< rs2_device_hub > () | |
| device_hub (std::shared_ptr< rs2_device_hub > hub) | |
device_hub class - encapsulate the handling of connect and disconnect events
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Checks if device is still connected
|
inlineexplicit |
|
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