#include <StreamProfile.hpp>
|
const ob_stream_profile_list_t * | impl_ |
|
Definition at line 382 of file StreamProfile.hpp.
◆ StreamProfileList()
ob::StreamProfileList::StreamProfileList |
( |
ob_stream_profile_list_t * | impl | ) |
|
|
inlineexplicit |
◆ ~StreamProfileList()
ob::StreamProfileList::~StreamProfileList |
( |
| ) |
|
|
inlinenoexcept |
◆ getCount()
uint32_t ob::StreamProfileList::getCount |
( |
| ) |
const |
|
inline |
◆ getProfile()
std::shared_ptr< StreamProfile > ob::StreamProfileList::getProfile |
( |
uint32_t | index | ) |
const |
|
inline |
Return the StreamProfile object at the specified index.
- Parameters
-
index | The index of the StreamProfile object to be retrieved. Must be in the range [0, count-1]. Throws an exception if the index is out of range. |
- Returns
- std::shared_ptr<StreamProfile> Return the StreamProfile object.
Definition at line 412 of file StreamProfile.hpp.
◆ getVideoStreamProfile()
Match the corresponding video stream profile based on the passed-in parameters. If multiple Match are found, the first one in the list is returned by default. Throws an exception if no matching profile is found.
- Parameters
-
width | The width of the stream. Pass OB_WIDTH_ANY if no matching condition is required. |
height | The height of the stream. Pass OB_HEIGHT_ANY if no matching condition is required. |
format | The type of the stream. Pass OB_FORMAT_ANY if no matching condition is required. |
fps | The frame rate of the stream. Pass OB_FPS_ANY if no matching condition is required. |
- Returns
- std::shared_ptr<VideoStreamProfile> Return the matching resolution.
Definition at line 429 of file StreamProfile.hpp.
◆ getAccelStreamProfile()
Match the corresponding accelerometer stream profile based on the passed-in parameters. If multiple Match are found, the first one in the list is returned by default. Throws an exception if no matching profile is found.
- Parameters
-
fullScaleRange | The full scale range. Pass 0 if no matching condition is required. |
sampleRate | The sampling frequency. Pass 0 if no matching condition is required. |
Definition at line 445 of file StreamProfile.hpp.
◆ getGyroStreamProfile()
Match the corresponding gyroscope stream profile based on the passed-in parameters. If multiple Match are found, the first one in the list is returned by default. Throws an exception if no matching profile is found.
- Parameters
-
fullScaleRange | The full scale range. Pass 0 if no matching condition is required. |
sampleRate | The sampling frequency. Pass 0 if no matching condition is required. |
Definition at line 460 of file StreamProfile.hpp.
◆ count()
uint32_t ob::StreamProfileList::count |
( |
| ) |
const |
|
inline |
◆ impl_
const ob_stream_profile_list_t* ob::StreamProfileList::impl_ |
|
protected |
The documentation for this class was generated from the following file:
- C:/Users/hzcyf/Projects/openorbbecsdkgroup/OpenOrbbecSDK/include/libobsensor/hpp/StreamProfile.hpp