#include <TypeHelper.hpp>
Definition at line 14 of file TypeHelper.hpp.
◆ convertOBFormatTypeToString()
static std::string ob::TypeHelper::convertOBFormatTypeToString |
( |
const OBFormat & | type | ) |
|
|
inlinestatic |
Convert OBFormat to " string " type and then return.
- Parameters
-
- Returns
- OBFormat of "string" type.
Definition at line 22 of file TypeHelper.hpp.
◆ convertOBFrameTypeToString()
static std::string ob::TypeHelper::convertOBFrameTypeToString |
( |
const OBFrameType & | type | ) |
|
|
inlinestatic |
Convert OBFrameType to " string " type and then return.
- Parameters
-
[in] | type | OBFrameType type. |
- Returns
- OBFrameType of "string" type.
Definition at line 32 of file TypeHelper.hpp.
◆ convertOBStreamTypeToString()
static std::string ob::TypeHelper::convertOBStreamTypeToString |
( |
const OBStreamType & | type | ) |
|
|
inlinestatic |
Convert OBStreamType to " string " type and then return.
- Parameters
-
[in] | type | OBStreamType type. |
- Returns
- OBStreamType of "string" type.
Definition at line 42 of file TypeHelper.hpp.
◆ convertOBSensorTypeToString()
static std::string ob::TypeHelper::convertOBSensorTypeToString |
( |
const OBSensorType & | type | ) |
|
|
inlinestatic |
Convert OBSensorType to " string " type and then return.
- Parameters
-
[in] | type | OBSensorType type. |
- Returns
- OBSensorType of "string" type.
Definition at line 52 of file TypeHelper.hpp.
◆ convertOBIMUSampleRateTypeToString()
static std::string ob::TypeHelper::convertOBIMUSampleRateTypeToString |
( |
const OBIMUSampleRate & | type | ) |
|
|
inlinestatic |
Convert OBIMUSampleRate to " string " type and then return.
- Parameters
-
[in] | type | OBIMUSampleRate type. |
- Returns
- OBIMUSampleRate of "string" type.
Definition at line 62 of file TypeHelper.hpp.
◆ convertOBGyroFullScaleRangeTypeToString()
static std::string ob::TypeHelper::convertOBGyroFullScaleRangeTypeToString |
( |
const OBGyroFullScaleRange & | type | ) |
|
|
inlinestatic |
Convert OBGyroFullScaleRange to " string " type and then return.
- Parameters
-
[in] | type | OBGyroFullScaleRange type. |
- Returns
- OBGyroFullScaleRange of "string" type.
Definition at line 72 of file TypeHelper.hpp.
◆ convertOBAccelFullScaleRangeTypeToString()
static std::string ob::TypeHelper::convertOBAccelFullScaleRangeTypeToString |
( |
const OBAccelFullScaleRange & | type | ) |
|
|
inlinestatic |
Convert OBAccelFullScaleRange to " string " type and then return.
- Parameters
-
[in] | type | OBAccelFullScaleRange type. |
- Returns
- OBAccelFullScaleRange of "string" type.
Definition at line 82 of file TypeHelper.hpp.
◆ convertOBFrameMetadataTypeToString()
static std::string ob::TypeHelper::convertOBFrameMetadataTypeToString |
( |
const OBFrameMetadataType & | type | ) |
|
|
inlinestatic |
Convert OBFrameMetadataType to " string " type and then return.
- Parameters
-
[in] | type | OBFrameMetadataType type. |
- Returns
- OBFrameMetadataType of "string" type.
Definition at line 92 of file TypeHelper.hpp.
◆ convertSensorTypeToStreamType()
◆ isVideoSensorType()
static bool ob::TypeHelper::isVideoSensorType |
( |
OBSensorType | type | ) |
|
|
inlinestatic |
Check if the given sensor type is a video sensor.
Video sensors are sensors that produce video frames.
The following sensor types are considered video sensors: OB_SENSOR_COLOR, OB_SENSOR_DEPTH, OB_SENSOR_IR, OB_SENSOR_IR_LEFT, OB_SENSOR_IR_RIGHT,
- Parameters
-
- Returns
- true
-
false
Definition at line 120 of file TypeHelper.hpp.
◆ isVideoStreamType()
static bool ob::TypeHelper::isVideoStreamType |
( |
OBStreamType | type | ) |
|
|
inlinestatic |
Check if the given stream type is a video stream.
Video streams are streams that contain video frames.
The following stream types are considered video streams: OB_STREAM_VIDEO, OB_STREAM_DEPTH, OB_STREAM_COLOR, OB_STREAM_IR, OB_STREAM_IR_LEFT, OB_STREAM_IR_RIGHT,
- Parameters
-
type | The stream type to check. |
- Returns
- true if the given stream type is a video stream, false otherwise.
Definition at line 138 of file TypeHelper.hpp.
The documentation for this class was generated from the following file:
- D:/program/gitlab_repository/package/openorbbecsdkgroup/OpenOrbbecSDK/include/libobsensor/hpp/TypeHelper.hpp