#include <rs_sensor.hpp>
Definition at line 102 of file rs_sensor.hpp.
rs2::sensor::sensor |
( |
std::shared_ptr< rs2_sensor > |
dev | ) |
|
|
inlineexplicit |
template<class T >
T rs2::sensor::as |
( |
| ) |
const |
|
inline |
void rs2::sensor::close |
( |
| ) |
const |
|
inline |
close sensor for exclusive access this method should be used for releasing sensor resource
Definition at line 173 of file rs_sensor.hpp.
const std::shared_ptr<rs2_sensor>& rs2::sensor::get |
( |
| ) |
const |
|
inline |
Retrieves the list of stream profiles currently streaming on the sensor.
- Returns
- list of stream profiles that given sensor is streaming
Definition at line 246 of file rs_sensor.hpp.
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 sensor model
Definition at line 138 of file rs_sensor.hpp.
std::vector<filter> rs2::sensor::get_recommended_filters |
( |
| ) |
const |
|
inline |
get the recommended list of filters by the sensor
- Returns
- list of filters that recommended by sensor
Definition at line 273 of file rs_sensor.hpp.
std::vector<stream_profile> rs2::sensor::get_stream_profiles |
( |
| ) |
const |
|
inline |
Retrieves the list of stream profiles supported by the sensor.
- Returns
- list of stream profiles that given sensor can provide
Definition at line 219 of file rs_sensor.hpp.
template<class T >
bool rs2::sensor::is |
( |
| ) |
const |
|
inline |
open sensor for exclusive access, by committing to a configuration
- Parameters
-
[in] | profile | configuration committed by the sensor |
Definition at line 111 of file rs_sensor.hpp.
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
- Parameters
-
[in] | profiles | vector of configurations to be commited by the sensor |
Definition at line 151 of file rs_sensor.hpp.
rs2::sensor::operator bool |
( |
| ) |
const |
|
inline |
rs2::sensor::operator std::shared_ptr< rs2_sensor > |
( |
| ) |
|
|
inlineexplicit |
template<class T >
void rs2::sensor::set_notifications_callback |
( |
T |
callback | ) |
const |
|
inline |
register notifications callback
- Parameters
-
[in] | callback | notifications callback |
Definition at line 207 of file rs_sensor.hpp.
template<class T >
void rs2::sensor::start |
( |
T |
callback | ) |
const |
|
inline |
Start passing frames into user provided callback
- Parameters
-
[in] | callback | Stream callback, can be any callable object accepting rs2::frame |
Definition at line 185 of file rs_sensor.hpp.
void rs2::sensor::stop |
( |
| ) |
const |
|
inline |
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 sensor
Definition at line 125 of file rs_sensor.hpp.
friend rs2::sensor::context |
|
protected |
friend rs2::sensor::device |
|
protected |
friend rs2::sensor::device_base |
|
protected |
friend rs2::sensor::device_list |
|
protected |
friend rs2::sensor::roi_sensor |
|
protected |
The documentation for this class was generated from the following file: