|
RealSense Cross Platform API
RealSense Cross-platform API
|
#include <rs_internal.hpp>
Public Member Functions | |
| software_device (std::function< void(rs2_device *)> deleter=&rs2_delete_device) | |
| software_device (std::string name) | |
| software_sensor | add_sensor (std::string name) |
| template<class T> | |
| void | set_destruction_callback (T callback) const |
| void | add_to (context &ctx) |
| void | register_info (rs2_camera_info info, const std::string &val) |
| void | update_info (rs2_camera_info info, const std::string &val) |
| void | create_matcher (rs2_matchers matcher) |
| Public Member Functions inherited from rs2::device | |
| std::vector< sensor > | query_sensors () const |
| std::string | get_type () const |
| std::string | get_description () const |
| template<class T> | |
| T | first () const |
| bool | supports (rs2_camera_info info) const |
| const char * | get_info (rs2_camera_info info) const |
| void | hardware_reset () |
| bool | is_in_recovery_mode () |
| device & | operator= (const std::shared_ptr< rs2_device > dev) |
| device & | operator= (const device &dev) |
| device () | |
| operator bool () const | |
| const std::shared_ptr< rs2_device > & | get () const |
| bool | operator< (device const &other) const |
| bool | is_connected () const |
| template<class T> | |
| bool | is () const |
| template<class T> | |
| T | as () const |
| virtual | ~device () |
| operator std::shared_ptr< rs2_device > () | |
| device (std::shared_ptr< rs2_device > dev) | |
Additional Inherited Members | |
| Protected Attributes inherited from rs2::device | |
| std::shared_ptr< rs2_device > | _dev |
|
inline |
|
inline |
|
inline |
Add software sensor with given name to the software device.
| [in] | name | the name of the sensor |
|
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)
| [in] | ctx | context to add the device to |
|
inline |
Set the wanted matcher type that will be used by the syncer
| [in] | matcher | matcher type |
|
inline |
Add a new camera info value, like serial number
| [in] | info | Identifier of the camera info type |
| [in] | val | string value to set to this camera info type |
|
inline |
Register destruction callback
| [in] | callback | destruction callback |
|
inline |
Update an existing camera info value, like serial number
| [in] | info | Identifier of the camera info type |
| [in] | val | string value to set to this camera info type |