OrbbecSDK 2.0.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
Class representing a list of device presets. More...
#include <Device.hpp>
Public Member Functions | |
DevicePresetList (ob_device_preset_list_t *impl) | |
~DevicePresetList () noexcept | |
uint32_t | getCount () |
Get the number of device presets in the list. | |
const char * | getName (uint32_t index) |
Get the name of the device preset at the specified index. | |
bool | hasPreset (const char *name) |
check if the preset list contains the special name preset. | |
uint32_t | count () |
Class representing a list of device presets.
A device preset is a set of parameters or configurations that can be applied to the device to achieve a specific effect or function.
Definition at line 1260 of file Device.hpp.
|
inlineexplicit |
Definition at line 1265 of file Device.hpp.
|
inlinenoexcept |
Definition at line 1266 of file Device.hpp.
|
inline |
Get the number of device presets in the list.
Definition at line 1277 of file Device.hpp.
Referenced by count().
|
inline |
Get the name of the device preset at the specified index.
index | the index of the device preset |
Definition at line 1290 of file Device.hpp.
|
inline |
check if the preset list contains the special name preset.
name | The name of the preset |
Definition at line 1302 of file Device.hpp.
|
inline |
Definition at line 1311 of file Device.hpp.
Referenced by getCount().