|
RealSense Cross Platform API
RealSense Cross-platform API
|
#include <rs_sensor.hpp>
Public Member Functions | |
| void | open (const stream_profile &profile) const |
| bool | supports (rs2_camera_info info) const |
| const char * | get_info (rs2_camera_info info) const |
| void | open (const std::vector< stream_profile > &profiles) const |
| void | close () const |
| template<class T> | |
| void | start (T callback) const |
| void | stop () const |
| template<class T> | |
| void | set_notifications_callback (T callback) const |
| std::vector< stream_profile > | get_stream_profiles () const |
| std::vector< stream_profile > | get_active_streams () const |
| std::vector< filter > | get_recommended_filters () const |
| std::vector< embedded_filter > | query_embedded_filters () const |
| template<class T> | |
| T | get_embedded_filter () const |
| sensor & | operator= (const std::shared_ptr< rs2_sensor > other) |
| sensor & | operator= (const sensor &other) |
| sensor () | |
| operator bool () const | |
| const std::shared_ptr< rs2_sensor > & | get () const |
| template<class T> | |
| bool | is () const |
| template<class T> | |
| T | as () const |
| sensor (std::shared_ptr< rs2_sensor > dev) | |
| operator std::shared_ptr< rs2_sensor > () | |
| bool | supports (rs2_option option) const |
| Public Member Functions inherited from rs2::options | |
| bool | supports (rs2_option option) const |
| const char * | get_option_description (rs2_option option) const |
| const char * | get_option_name (rs2_option option) const |
| const char * | get_option_value_description (rs2_option option, float val) const |
| float | get_option (rs2_option option) const |
| option_value | get_option_value (rs2_option option_id) const |
| option_range | get_option_range (rs2_option option) const |
| void | set_option (rs2_option option, float value) const |
| void | set_option_value (option_value const &value) const |
| bool | is_option_read_only (rs2_option option) const |
| void | on_options_changed (std::function< void(const options_list &) > callback) const |
| std::vector< rs2_option > | get_supported_options () |
| options_list | get_supported_option_values () |
| options & | operator= (const options &other) |
| options (const options &other) | |
| virtual | ~options ()=default |
Protected Attributes | |
| friend | context |
| friend | device_list |
| friend | device |
| friend | device_base |
| friend | roi_sensor |
| std::shared_ptr< rs2_sensor > | _sensor |
Additional Inherited Members | |
| Protected Member Functions inherited from rs2::options | |
| options (rs2_options *o=nullptr) | |
| template<class T> | |
| options & | operator= (const T &dev) |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
close sensor for exclusive access this method should be used for releasing sensor resource
|
inline |
|
inline |
Retrieves the list of stream profiles currently streaming on the sensor.
|
inline |
|
inline |
retrieve camera specific information, like versions of various internal components
| [in] | info | camera info type to retrieve |
|
inline |
get the recommended list of filters by the sensor
|
inline |
Retrieves the list of stream profiles supported by the sensor.
|
inline |
|
inline |
open sensor for exclusive access, by committing to composite configuration, specifying one or more stream profiles this method should be used for interdependent streams, such as depth and infrared, that have to be configured together
| [in] | profiles | vector of configurations to be commited by the sensor |
|
inline |
open sensor for exclusive access, by committing to a configuration
| [in] | profile | configuration committed by the sensor |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
register notifications callback
| [in] | callback | notifications callback |
|
inline |
Start passing frames into user provided callback
| [in] | callback | Stream callback, can be any callable object accepting rs2::frame |
|
inline |
stop streaming
|
inline |
check if specific camera info is supported
| [in] | info | the parameter to check for support |
|
inline |
check if particular option is supported
| [in] | option | option id to be checked |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |