The pipeline profile includes a device and a selection of active streams, with specific profiles.
The profile is a selection of the above under filters and conditions defined by the pipeline. Streams may belong to more than one sensor of the device.
Definition at line 18 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
Public Member Functions | |
| pipeline_profile () | |
| std::vector< stream_profile > | get_streams () const |
| Return the selected streams profiles, which are enabled in this profile. More... | |
| stream_profile | get_stream (rs2_stream stream_type, int stream_index=-1) const |
| Return the stream profile that is enabled for the specified stream in this profile. More... | |
| device | get_device () const |
| Retrieve the device used by the pipeline. More... | |
| operator bool () const | |
| Conversion to boolean value to test for the object's validity. More... | |
| operator std::shared_ptr< rs2_pipeline_profile > () | |
| pipeline_profile (std::shared_ptr< rs2_pipeline_profile > profile) | |
| pipeline_profile () | |
| std::vector< stream_profile > | get_streams () const |
| Return the selected streams profiles, which are enabled in this profile. More... | |
| stream_profile | get_stream (rs2_stream stream_type, int stream_index=-1) const |
| Return the stream profile that is enabled for the specified stream in this profile. More... | |
| device | get_device () const |
| Retrieve the device used by the pipeline. More... | |
| operator bool () const | |
| Conversion to boolean value to test for the object's validity. More... | |
| operator std::shared_ptr< rs2_pipeline_profile > () | |
| pipeline_profile (std::shared_ptr< rs2_pipeline_profile > profile) | |
Friends | |
| class | config |
| class | pipeline |
|
inline |
Definition at line 22 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
inline |
Definition at line 106 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
inline |
Definition at line 22 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
inline |
Definition at line 106 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
inline |
Retrieve the device used by the pipeline.
The device class provides the application access to control camera additional settings - get device information, sensor options information, options value query and set, sensor specific extensions. Since the pipeline controls the device streams configuration, activation state and frames reading, calling the device API functions, which execute those operations, results in unexpected behavior. The pipeline streaming device is selected during pipeline start(). Devices of profiles, which are not returned by pipeline start() or get_active_profile(), are not guaranteed to be used by the pipeline.
Definition at line 83 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
References rs2::error::handle(), rs2_delete_device(), and rs2_pipeline_profile_get_device().
|
inline |
Retrieve the device used by the pipeline.
The device class provides the application access to control camera additional settings - get device information, sensor options information, options value query and set, sensor specific extensions. Since the pipeline controls the device streams configuration, activation state and frames reading, calling the device API functions, which execute those operations, results in unexpected behavior. The pipeline streaming device is selected during pipeline start(). Devices of profiles, which are not returned by pipeline start() or get_active_profile(), are not guaranteed to be used by the pipeline.
Definition at line 83 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
References rs2::error::handle(), rs2_delete_device(), and rs2_pipeline_profile_get_device().
|
inline |
Return the stream profile that is enabled for the specified stream in this profile.
| [in] | stream_type | Stream type of the desired profile |
| [in] | stream_index | Stream index of the desired profile. -1 for any matching. |
Definition at line 60 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
References get_streams().
|
inline |
Return the stream profile that is enabled for the specified stream in this profile.
| [in] | stream_type | Stream type of the desired profile |
| [in] | stream_index | Stream index of the desired profile. -1 for any matching. |
Definition at line 60 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
References get_streams().
|
inline |
Return the selected streams profiles, which are enabled in this profile.
Definition at line 29 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
References rs2::error::handle(), rs2_delete_stream_profiles_list(), rs2_get_stream_profile(), rs2_get_stream_profiles_count(), rs2_pipeline_profile_get_streams(), and pydeepstreamdoc::tensor::TensorDoc::size.
Referenced by get_stream().
|
inline |
Return the selected streams profiles, which are enabled in this profile.
Definition at line 29 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
References rs2::error::handle(), rs2_delete_stream_profiles_list(), rs2_get_stream_profile(), rs2_get_stream_profiles_count(), rs2_pipeline_profile_get_streams(), and pydeepstreamdoc::tensor::TensorDoc::size.
|
inline |
Conversion to boolean value to test for the object's validity.
Definition at line 100 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
inline |
Conversion to boolean value to test for the object's validity.
Definition at line 100 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
inlineexplicit |
Definition at line 105 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
inlineexplicit |
Definition at line 105 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
friend |
Definition at line 111 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.
|
friend |
Definition at line 112 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_pipeline.hpp.