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

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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

  state | file transfer status
  message | status 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

  state | upgrade status
  message | status information

Definition at line 50 of file Types.hpp.

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

device status callback

Parameters

  state | device status
  message | status 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

  dataChunk | data chunk
  state | get 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

  percent | progress percentage
  state | set the data status

Definition at line 95 of file Types.hpp.