| OrbbecSDK 1.5.7 OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices

- 首页
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

Types.hpp
浏览该文件的文档.
1
12 #pragma once
13
14 #include "libobsensor/h/ObTypes.h"
15
16 #include <functional>
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
35 using SendFileCallback = std::function<void(OBFileTranState state, const char *message, uint8_t percent)>;
36
50 using DeviceUpgradeCallback = std::function<void(OBUpgradeState state, const char *message, uint8_t percent)>;
51
65 using DeviceStateChangedCallback = std::function<void(OBDeviceState state, const char *message)>;
66
80 using GetDataCallback = std::function<void(OBDataTranState state, OBDataChunk *dataChunk)>;
81
95 using SetDataCallback = std::function<void(OBDataTranState state, uint8_t percent)>;
96
97 #ifdef __cplusplus
98 }
99 #endif
SetDataCallback
std::function< void(OBDataTranState state, uint8_t percent)> SetDataCallback
设置raw data属性数据时进度回调
Definition: Types.hpp:95
ObTypes.h
提供 SDK 常用的结构体、枚举常量定义。
SendFileCallback
std::function< void(OBFileTranState state, const char *message, uint8_t percent)> SendFileCallback
文件传输回调
Definition: Types.hpp:35
DeviceUpgradeCallback
std::function< void(OBUpgradeState state, const char *message, uint8_t percent)> DeviceUpgradeCallback
设备升级回调
Definition: Types.hpp:50
DeviceStateChangedCallback
std::function< void(OBDeviceState state, const char *message)> DeviceStateChangedCallback
设备状态回调
Definition: Types.hpp:65
GetDataCallback
std::function< void(OBDataTranState state, OBDataChunk *dataChunk)> GetDataCallback
获取raw data属性数据时数据及进度回调
Definition: Types.hpp:80