#include <rs_internal.hpp>
◆ software_device() [1/2]
◆ software_device() [2/2]
rs2::software_device::software_device |
( |
std::string | name | ) |
|
|
inline |
◆ add_sensor()
Add software sensor with given name to the software device.
- Parameters
-
[in] | name | the name of the sensor |
◆ add_to()
void rs2::software_device::add_to |
( |
context & | ctx | ) |
|
|
inline |
Add software device to existing context. Any future queries on the context will return this device. This operation cannot be undone (except for destroying the context)
- Parameters
-
[in] | ctx | context to add the device to |
◆ create_matcher()
void rs2::software_device::create_matcher |
( |
rs2_matchers | matcher | ) |
|
|
inline |
Set the wanted matcher type that will be used by the syncer
- Parameters
-
◆ register_info()
void rs2::software_device::register_info |
( |
rs2_camera_info | info, |
|
|
const std::string & | val ) |
|
inline |
Add a new camera info value, like serial number
- Parameters
-
[in] | info | Identifier of the camera info type |
[in] | val | string value to set to this camera info type |
◆ set_destruction_callback()
template<class T>
void rs2::software_device::set_destruction_callback |
( |
T | callback | ) |
const |
|
inline |
Register destruction callback
- Parameters
-
[in] | callback | destruction callback |
◆ update_info()
void rs2::software_device::update_info |
( |
rs2_camera_info | info, |
|
|
const std::string & | val ) |
|
inline |
Update an existing camera info value, like serial number
- Parameters
-
[in] | info | Identifier of the camera info type |
[in] | val | string value to set to this camera info type |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/librealsense-2.56.3-build/librealsense-2.56.3/include/librealsense2/hpp/rs_internal.hpp