OrbbecSDK  1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
Public 成员函数 | Protected 属性 | 友元 | 所有成员列表
ob::StreamProfile类 参考

#include <StreamProfile.hpp>

类 ob::StreamProfile 继承关系图:
ob::AccelStreamProfile ob::GyroStreamProfile ob::VideoStreamProfile

Public 成员函数

 StreamProfile (std::unique_ptr< StreamProfileImpl > impl)
 
 StreamProfile (StreamProfile &streamProfile)
 
 ~StreamProfile () noexcept
 
OBFormat format () const
 获取流的格式 更多...
 
OBStreamType type () const
 获取流的类型 更多...
 
template<typename T >
bool is ()
 检查帧对象的运行时类型是否与给定类型兼容 更多...
 
template<typename T >
std::shared_ptr< T > as ()
 对象类型转换 更多...
 

Protected 属性

std::unique_ptr< StreamProfileImpl > impl_
 

友元

class Sensor
 
class Config
 
class Pipeline
 

详细描述

在文件 StreamProfile.hpp27 行定义.

构造及析构函数说明

ob::StreamProfile::StreamProfile ( std::unique_ptr< StreamProfileImpl >  impl)
ob::StreamProfile::StreamProfile ( StreamProfile streamProfile)
ob::StreamProfile::~StreamProfile ( )
noexcept

成员函数说明

OBFormat ob::StreamProfile::format ( ) const

获取流的格式

返回
OBFormat 返回流的格式
OBStreamType ob::StreamProfile::type ( ) const

获取流的类型

返回
OBStreamType 返回流的类型
template<typename T >
bool ob::StreamProfile::is ( )

检查帧对象的运行时类型是否与给定类型兼容

模板参数
T给定的类型
返回
bool 返回结果

在文件 StreamProfile.hpp208 行定义.

template<typename T >
std::shared_ptr<T> ob::StreamProfile::as ( )
inline

对象类型转换

模板参数
T目标类型
返回
std::shared_ptr<T> 返回结果, 如果不能够转换,将抛异常

在文件 StreamProfile.hpp89 行定义.

友元及相关函数文档

friend class Sensor
friend

在文件 StreamProfile.hpp96 行定义.

friend class Config
friend

在文件 StreamProfile.hpp97 行定义.

friend class Pipeline
friend

在文件 StreamProfile.hpp98 行定义.

类成员变量说明

std::unique_ptr<StreamProfileImpl> ob::StreamProfile::impl_
protected

在文件 StreamProfile.hpp29 行定义.


该类的文档由以下文件生成: