OrbbecSDK 2.5.5
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
TypeHelper.h File Reference
#include "ObTypes.h"

Go to the source code of this file.

Functions

OB_EXPORT const char * ob_format_type_to_string (OBFormat type)
 Convert OBFormat to " char* " type and then return.
OB_EXPORT const char * ob_frame_type_to_string (OBFrameType type)
 Convert OBFrameType to " char* " type and then return.
OB_EXPORT const char * ob_stream_type_to_string (OBStreamType type)
 Convert OBStreamType to " char* " type and then return.
OB_EXPORT const char * ob_sensor_type_to_string (OBSensorType type)
 Convert OBSensorType to " char* " type and then return.
OB_EXPORT const char * ob_imu_rate_type_to_string (OBIMUSampleRate type)
 Convert OBIMUSampleRate to " char* " type and then return.
OB_EXPORT const char * ob_gyro_range_type_to_string (OBGyroFullScaleRange type)
 Convert OBGyroFullScaleRange to " char* " type and then return.
OB_EXPORT const char * ob_accel_range_type_to_string (OBAccelFullScaleRange type)
 Convert OBAccelFullScaleRange to " char* " type and then return.
OB_EXPORT const char * ob_meta_data_type_to_string (OBFrameMetadataType type)
 Convert OBFrameMetadataType to " char* " type and then return.
OB_EXPORT OBStreamType ob_sensor_type_to_stream_type (OBSensorType type)
 Convert OBStreamType to OBSensorType.
OB_EXPORT const char * ob_format_to_string (OBFormat format)
 Convert OBFormat to " char* " type and then return.

Function Documentation

◆ ob_format_type_to_string()

OB_EXPORT const char * ob_format_type_to_string ( OBFormat type)

Convert OBFormat to " char* " type and then return.

Parameters
[in]typeOBFormat type.
Returns
OBFormat of "char*" type.

Referenced by ob::TypeHelper::convertOBFormatTypeToString().

◆ ob_frame_type_to_string()

OB_EXPORT const char * ob_frame_type_to_string ( OBFrameType type)

Convert OBFrameType to " char* " type and then return.

Parameters
[in]typeOBFrameType type.
Returns
OBFrameType of "char*" type.

Referenced by ob::TypeHelper::convertOBFrameTypeToString().

◆ ob_stream_type_to_string()

OB_EXPORT const char * ob_stream_type_to_string ( OBStreamType type)

Convert OBStreamType to " char* " type and then return.

Parameters
[in]typeOBStreamType type.
Returns
OBStreamType of "char*" type.

Referenced by ob::TypeHelper::convertOBStreamTypeToString().

◆ ob_sensor_type_to_string()

OB_EXPORT const char * ob_sensor_type_to_string ( OBSensorType type)

Convert OBSensorType to " char* " type and then return.

Parameters
[in]typeOBSensorType type.
Returns
OBSensorType of "char*" type.

Referenced by ob::TypeHelper::convertOBSensorTypeToString().

◆ ob_imu_rate_type_to_string()

OB_EXPORT const char * ob_imu_rate_type_to_string ( OBIMUSampleRate type)

Convert OBIMUSampleRate to " char* " type and then return.

Parameters
[in]typeOBIMUSampleRate type.
Returns
OBIMUSampleRate of "char*" type.

Referenced by ob::TypeHelper::convertOBIMUSampleRateTypeToString().

◆ ob_gyro_range_type_to_string()

OB_EXPORT const char * ob_gyro_range_type_to_string ( OBGyroFullScaleRange type)

Convert OBGyroFullScaleRange to " char* " type and then return.

Parameters
[in]typeOBGyroFullScaleRange type.
Returns
OBGyroFullScaleRange of "char*" type.

Referenced by ob::TypeHelper::convertOBGyroFullScaleRangeTypeToString().

◆ ob_accel_range_type_to_string()

OB_EXPORT const char * ob_accel_range_type_to_string ( OBAccelFullScaleRange type)

Convert OBAccelFullScaleRange to " char* " type and then return.

Parameters
[in]typeOBAccelFullScaleRange type.
Returns
OBAccelFullScaleRange of "char*" type.

Referenced by ob::TypeHelper::convertOBAccelFullScaleRangeTypeToString().

◆ ob_meta_data_type_to_string()

OB_EXPORT const char * ob_meta_data_type_to_string ( OBFrameMetadataType type)

Convert OBFrameMetadataType to " char* " type and then return.

Parameters
[in]typeOBFrameMetadataType type.
Returns
OBFrameMetadataType of "char*" type.

Referenced by ob::TypeHelper::convertOBFrameMetadataTypeToString().

◆ ob_sensor_type_to_stream_type()

OB_EXPORT OBStreamType ob_sensor_type_to_stream_type ( OBSensorType type)

Convert OBStreamType to OBSensorType.

Parameters
[in]typeThe sensor type to convert.
Returns
OBStreamType The corresponding stream type.

Referenced by ob::TypeHelper::convertSensorTypeToStreamType().

◆ ob_format_to_string()

OB_EXPORT const char * ob_format_to_string ( OBFormat format)

Convert OBFormat to " char* " type and then return.

Parameters
formatThe OBFormat to convert.
Returns
The string.