#include <StreamProfile.hpp>
|
const ob_stream_profile_t * | impl_ = nullptr |
|
Definition at line 18 of file StreamProfile.hpp.
◆ StreamProfile() [1/3]
ob::StreamProfile::StreamProfile |
( |
StreamProfile & | streamProfile | ) |
|
|
delete |
◆ StreamProfile() [2/3]
ob::StreamProfile::StreamProfile |
( |
StreamProfile && | streamProfile | ) |
|
|
inlinenoexcept |
◆ ~StreamProfile()
virtual ob::StreamProfile::~StreamProfile |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ StreamProfile() [3/3]
ob::StreamProfile::StreamProfile |
( |
const ob_stream_profile_t * | impl | ) |
|
|
inlineexplicitprotected |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ getImpl()
◆ getFormat()
OBFormat ob::StreamProfile::getFormat |
( |
| ) |
const |
|
inline |
Get the format of the stream.
- Returns
- OBFormat return the format of the stream
Definition at line 58 of file StreamProfile.hpp.
Referenced by format().
◆ getType()
Get the type of stream.
- Returns
- OBStreamType return the type of the stream
Definition at line 70 of file StreamProfile.hpp.
Referenced by is(), and type().
◆ getExtrinsicTo()
Get the extrinsic parameters from current stream profile to the given target stream profile.
- Returns
- OBExtrinsic Return the extrinsic parameters.
Definition at line 82 of file StreamProfile.hpp.
◆ is()
template<typename T >
bool ob::StreamProfile::is |
( |
| ) |
const |
Check if frame object is compatible with the given type.
- Template Parameters
-
- Returns
- bool return result
Definition at line 335 of file StreamProfile.hpp.
Referenced by as(), and as().
◆ as() [1/2]
template<typename T >
std::shared_ptr< T > ob::StreamProfile::as |
( |
| ) |
|
|
inline |
Converts object type to target type.
- Template Parameters
-
- Returns
- std::shared_ptr<T> Return the result. Throws an exception if conversion is not possible.
Definition at line 103 of file StreamProfile.hpp.
◆ as() [2/2]
template<typename T >
std::shared_ptr< const T > ob::StreamProfile::as |
( |
| ) |
const |
|
inline |
Converts object type to target type (const version)
- Template Parameters
-
- Returns
- std::shared_ptr<T> Return the result. Throws an exception if conversion is not possible.
Definition at line 117 of file StreamProfile.hpp.
◆ format()
OBFormat ob::StreamProfile::format |
( |
| ) |
const |
|
inline |
◆ type()
◆ impl_
const ob_stream_profile_t* ob::StreamProfile::impl_ = nullptr |
|
protected |
Definition at line 20 of file StreamProfile.hpp.
Referenced by ob::VideoStreamProfile::getDistortion(), getExtrinsicTo(), getFormat(), ob::VideoStreamProfile::getFps(), ob::AccelStreamProfile::getFullScaleRange(), ob::GyroStreamProfile::getFullScaleRange(), ob::VideoStreamProfile::getHeight(), getImpl(), ob::AccelStreamProfile::getIntrinsic(), ob::GyroStreamProfile::getIntrinsic(), ob::VideoStreamProfile::getIntrinsic(), ob::AccelStreamProfile::getSampleRate(), ob::GyroStreamProfile::getSampleRate(), getType(), ob::VideoStreamProfile::getWidth(), operator=(), and ~StreamProfile().
The documentation for this class was generated from the following file:
- C:/Users/hzcyf/Projects/openorbbecsdkgroup/OpenOrbbecSDK/include/libobsensor/hpp/StreamProfile.hpp