Context.
More...
#include <rs.hpp>
◆ context() [1/2]
Creates RealSense context that is required for the rest of the API.
◆ context() [2/2]
◆ ~context()
rs::context::~context |
( |
| ) |
|
|
inline |
◆ get_device()
device* rs::context::get_device |
( |
int |
index | ) |
|
|
inline |
Retrieves connected device by index
- Parameters
-
[in] | index | Zero-based index of device to retrieve |
- Returns
- Requested device
◆ get_device_count()
int rs::context::get_device_count |
( |
| ) |
const |
|
inline |
Determines number of connected devices
- Returns
- Device count
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/librealsense-b7a6fb938e1040b6b61d232d22bd2af054a5b458/include/librealsense/rs.hpp