#include <rs_device.hpp>
Definition at line 18 of file rs_device.hpp.
| virtual rs2::device::~device |
( |
| ) |
|
|
inlinevirtual |
| rs2::device::device |
( |
std::shared_ptr< rs2_device > |
dev | ) |
|
|
inlineexplicit |
template<class T >
| T rs2::device::as |
( |
| ) |
const |
|
inline |
template<class T >
| T rs2::device::first |
( |
| ) |
const |
|
inline |
| const std::shared_ptr<rs2_device>& rs2::device::get |
( |
| ) |
const |
|
inline |
retrieve camera specific information, like versions of various internal components
- Parameters
-
| [in] | info | camera info type to retrieve |
- Returns
- the requested camera info string, in a format specific to the device model
Definition at line 79 of file rs_device.hpp.
| void rs2::device::hardware_reset |
( |
| ) |
|
|
inline |
send hardware reset request to the device
Definition at line 90 of file rs_device.hpp.
template<class T >
| bool rs2::device::is |
( |
| ) |
const |
|
inline |
| rs2::device::operator bool |
( |
| ) |
const |
|
inline |
| rs2::device::operator std::shared_ptr< rs2_device > |
( |
| ) |
|
|
inlineexplicit |
| std::vector<sensor> rs2::device::query_sensors |
( |
| ) |
const |
|
inline |
returns the list of adjacent devices, sharing the same physical parent composite device
- Returns
- the list of adjacent devices
Definition at line 25 of file rs_device.hpp.
check if specific camera info is supported
- Parameters
-
| [in] | info | the parameter to check for support |
- Returns
- true if the parameter both exist and well-defined for the specific device
Definition at line 66 of file rs_device.hpp.
The documentation for this class was generated from the following file: