#include <rs_device.hpp>
◆ device() [1/2]
◆ ~device()
virtual rs2::device::~device |
( |
| ) |
|
|
inlinevirtual |
◆ device() [2/2]
rs2::device::device |
( |
std::shared_ptr< rs2_device > |
dev | ) |
|
|
inlineexplicit |
◆ as()
template<class T >
T rs2::device::as |
( |
| ) |
const |
|
inline |
◆ first()
template<class T >
T rs2::device::first |
( |
| ) |
const |
|
inline |
◆ get()
const std::shared_ptr<rs2_device>& rs2::device::get |
( |
| ) |
const |
|
inline |
◆ get_description()
std::string rs2::device::get_description |
( |
| ) |
const |
|
inline |
- Returns
- the one-line description: "[<type>] <name> s/n <#>"
◆ get_info()
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
◆ get_type()
std::string rs2::device::get_type |
( |
| ) |
const |
|
inline |
- Returns
- the type of device: USB/GMSL/DDS, etc.
◆ hardware_reset()
void rs2::device::hardware_reset |
( |
| ) |
|
|
inline |
send hardware reset request to the device
◆ is()
template<class T >
bool rs2::device::is |
( |
| ) |
const |
|
inline |
◆ is_connected()
bool rs2::device::is_connected |
( |
| ) |
const |
|
inline |
◆ operator bool()
rs2::device::operator bool |
( |
| ) |
const |
|
inline |
◆ operator std::shared_ptr< rs2_device >()
rs2::device::operator std::shared_ptr< rs2_device > |
( |
| ) |
|
|
inlineexplicit |
◆ operator<()
bool rs2::device::operator< |
( |
device const & |
other | ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ query_sensors()
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
◆ supports()
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
◆ rs2::context
◆ rs2::device_hub
◆ rs2::device_list
◆ rs2::pipeline_profile
◆ _dev
The documentation for this class was generated from the following file:
- C:/jenkins_sys_rsbuild/workspace/LRS_doxygen_pipeline/source/include/librealsense2/hpp/rs_device.hpp