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

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Types.hpp
Go to the documentation of this file.
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
set the raw data property when the progress callback is made
Definition: Types.hpp:95
ObTypes.h
Provide structs commonly used in the SDK, enumerating constant definitions.
SendFileCallback
std::function< void(OBFileTranState state, const char *message, uint8_t percent)> SendFileCallback
file transfer callbacks
Definition: Types.hpp:35
DeviceUpgradeCallback
std::function< void(OBUpgradeState state, const char *message, uint8_t percent)> DeviceUpgradeCallback
device upgrade callback
Definition: Types.hpp:50
DeviceStateChangedCallback
std::function< void(OBDeviceState state, const char *message)> DeviceStateChangedCallback
device status callback
Definition: Types.hpp:65
GetDataCallback
std::function< void(OBDataTranState state, OBDataChunk *dataChunk)> GetDataCallback
get raw data property data when data and progress callbacks
Definition: Types.hpp:80