OrbbecSDK  1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
Typedefs
Types.hpp File Reference

Provide SDK structure and enumeration constant definition (depending on libobsensor/h/ObTypes.h) More...

#include "libobsensor/h/ObTypes.h"
#include <functional>

Go to the source code of this file.

Typedefs

using SendFileCallback = std::function< void(OBFileTranState state, const char *message, uint8_t percent)>
 file transfer callbacks More...
 
using DeviceUpgradeCallback = std::function< void(OBUpgradeState state, const char *message, uint8_t percent)>
 device upgrade callback More...
 
using DeviceStateChangedCallback = std::function< void(OBDeviceState state, const char *message)>
 device status callback More...
 
using GetDataCallback = std::function< void(OBDataTranState state, OBDataChunk *dataChunk)>
 get raw data property data when data and progress callbacks More...
 
using SetDataCallback = std::function< void(OBDataTranState state, uint8_t percent)>
 set the raw data property when the progress callback is made More...
 

Detailed Description

Provide SDK structure and enumeration constant definition (depending on libobsensor/h/ObTypes.h)

Definition in file Types.hpp.

Typedef Documentation

using SendFileCallback = std::function<void(OBFileTranState state, const char *message, uint8_t percent)>

file transfer callbacks

Parameters
statefile transfer status
messagestatus information

Definition at line 35 of file Types.hpp.

using DeviceUpgradeCallback = std::function<void(OBUpgradeState state, const char *message, uint8_t percent)>

device upgrade callback

Parameters
stateupgrade status
messagestatus information

Definition at line 50 of file Types.hpp.

using DeviceStateChangedCallback = std::function<void(OBDeviceState state, const char *message)>

device status callback

Parameters
statedevice status
messagestatus information

Definition at line 65 of file Types.hpp.

using GetDataCallback = std::function<void(OBDataTranState state, OBDataChunk *dataChunk)>

get raw data property data when data and progress callbacks

Parameters
dataChunkdata chunk
stateget the data status

Definition at line 80 of file Types.hpp.

using SetDataCallback = std::function<void(OBDataTranState state, uint8_t percent)>

set the raw data property when the progress callback is made

Parameters
percentprogress percentage
stateset the data status

Definition at line 95 of file Types.hpp.