|
| | PlaybackDevice (const std::string &file) |
| virtual | ~PlaybackDevice () noexcept override=default |
| | PlaybackDevice (PlaybackDevice &&other) noexcept |
| PlaybackDevice & | operator= (PlaybackDevice &&other) noexcept |
| | PlaybackDevice (const PlaybackDevice &)=delete |
| PlaybackDevice & | operator= (const PlaybackDevice &)=delete |
| void | pause () |
| | Pause the streaming data from the playback device.
|
| void | resume () |
| | Resume the streaming data from the playback device.
|
| void | seek (const int64_t timestamp) |
| | Seek to a specific timestamp when playing back a recording.
|
| void | setPlaybackRate (const float rate) |
| | Set the playback rate of the playback device.
|
| void | setPlaybackStatusChangeCallback (PlaybackStatusChangeCallback callback) |
| | Set a callback function to be called when the playback status changes.
|
| OBPlaybackStatus | getPlaybackStatus () const |
| | Get the current playback status of the playback device.
|
| uint64_t | getPosition () const |
| | Get the current position of the playback device.
|
| uint64_t | getDuration () const |
| | Get the duration of the playback device.
|
| | Device (ob_device_t *impl) |
| | Describe the entity of the RGBD camera, representing a specific model of RGBD camera.
|
| | Device (Device &&other) noexcept |
| Device & | operator= (Device &&other) noexcept |
| | Device (const Device &)=delete |
| Device & | operator= (const Device &)=delete |
| virtual | ~Device () noexcept |
| ob_device_t * | getImpl () const |
| std::shared_ptr< DeviceInfo > | getDeviceInfo () const |
| | Get device information.
|
| bool | isExtensionInfoExist (const std::string &infoKey) const |
| | Check if the extension information is exist.
|
| const char * | getExtensionInfo (const std::string &infoKey) const |
| | Get information about extensions obtained from SDK supported by the device.
|
| std::shared_ptr< SensorList > | getSensorList () const |
| | Get device sensor list.
|
| std::shared_ptr< Sensor > | getSensor (OBSensorType type) const |
| | Get specific type of sensor if device not open, SDK will automatically open the connected device and return to the instance.
|
| void | setIntProperty (OBPropertyID propertyId, int32_t value) const |
| | Set int type of device property.
|
| void | setFloatProperty (OBPropertyID propertyId, float value) const |
| | Set float type of device property.
|
| void | setBoolProperty (OBPropertyID propertyId, bool value) const |
| | Set bool type of device property.
|
| int32_t | getIntProperty (OBPropertyID propertyId) const |
| | Get int type of device property.
|
| float | getFloatProperty (OBPropertyID propertyId) const |
| | Get float type of device property.
|
| bool | getBoolProperty (OBPropertyID propertyId) const |
| | Get bool type of device property.
|
| OBIntPropertyRange | getIntPropertyRange (OBPropertyID propertyId) const |
| | Get int type device property range (including current value and default value)
|
| OBFloatPropertyRange | getFloatPropertyRange (OBPropertyID propertyId) const |
| | Get float type device property range((including current value and default value)
|
| OBBoolPropertyRange | getBoolPropertyRange (OBPropertyID propertyId) const |
| | Get bool type device property range (including current value and default value)
|
| void | setStructuredData (OBPropertyID propertyId, const uint8_t *data, uint32_t dataSize) const |
| | Set the structured data type of a device property.
|
| void | getStructuredData (OBPropertyID propertyId, uint8_t *data, uint32_t *dataSize) const |
| | Get the structured data type of a device property.
|
| void | writeCustomerData (const void *data, uint32_t dataSize) |
| | Set the customer data type of a device property.
|
| void | readCustomerData (void *data, uint32_t *dataSize) |
| | Get the customer data type of a device property.
|
| int | getSupportedPropertyCount () const |
| | Get the number of properties supported by the device.
|
| OBPropertyItem | getSupportedProperty (uint32_t index) const |
| | Get the supported properties of the device.
|
| bool | isPropertySupported (OBPropertyID propertyId, OBPermissionType permission) const |
| | Check if a property permission is supported.
|
| bool | isGlobalTimestampSupported () const |
| | Check if the global timestamp is supported for the device.
|
| void | enableGlobalTimestamp (bool enable) |
| | Enable or disable the global timestamp.
|
| void | updateFirmware (const char *filePath, DeviceFwUpdateCallback callback, bool async=true) |
| | Update the device firmware.
|
| void | updateFirmwareFromData (const uint8_t *firmwareData, uint32_t firmwareDataSize, DeviceFwUpdateCallback callback, bool async=true) |
| | Update the device firmware from data.
|
| void | updateOptionalDepthPresets (const char filePathList[][OB_PATH_MAX], uint8_t pathCount, DeviceFwUpdateCallback callback) |
| | Update the device optional depth presets.
|
| void | setDeviceStateChangedCallback (DeviceStateChangedCallback callback) |
| | Set the device state changed callbacks.
|
| OBDepthWorkMode | getCurrentDepthWorkMode () const |
| | Get current depth work mode.
|
| const char * | getCurrentDepthModeName () |
| | Get current depth mode name.
|
| OBStatus | switchDepthWorkMode (const OBDepthWorkMode &workMode) const |
| | Switch depth work mode by OBDepthWorkMode. Prefer invoke switchDepthWorkMode(const char *modeName) to switch depth mode when known the complete name of depth work mode.
|
| OBStatus | switchDepthWorkMode (const char *modeName) const |
| | Switch depth work mode by work mode name.
|
| std::shared_ptr< OBDepthWorkModeList > | getDepthWorkModeList () const |
| | Request support depth work mode list.
|
| void | reboot () const |
| | Device restart.
|
| void | reboot (uint32_t delayMs) const |
| | Device restart delay mode.
|
| void | enableHeartbeat (bool enable) const |
| | Enable or disable the device heartbeat.
|
| uint16_t | getSupportedMultiDeviceSyncModeBitmap () const |
| | Get the supported multi device sync mode bitmap of the device.
|
| void | setMultiDeviceSyncConfig (const OBMultiDeviceSyncConfig &config) const |
| | set the multi device sync configuration of the device.
|
| OBMultiDeviceSyncConfig | getMultiDeviceSyncConfig () const |
| | get the multi device sync configuration of the device.
|
| void | triggerCapture () const |
| | send the capture command to the device.
|
| void | setTimestampResetConfig (const OBDeviceTimestampResetConfig &config) const |
| | set the timestamp reset configuration of the device.
|
| OBDeviceTimestampResetConfig | getTimestampResetConfig () const |
| | get the timestamp reset configuration of the device.
|
| void | timestampReset () const |
| | send the timestamp reset command to the device.
|
| void | timerSyncWithHost () const |
| | synchronize the timer of the device with the host.
|
| const char * | getCurrentPresetName () const |
| | Get current preset name.
|
| void | loadPreset (const char *presetName) const |
| | load the preset according to the preset name.
|
| std::shared_ptr< DevicePresetList > | getAvailablePresetList () const |
| | Get available preset list.
|
| void | loadPresetFromJsonFile (const char *filePath) const |
| | Load custom preset from file.
|
| void | loadPresetFromJsonData (const char *presetName, const uint8_t *data, uint32_t size) |
| | Load custom preset from data.
|
| void | exportSettingsAsPresetJsonData (const char *presetName, const uint8_t **data, uint32_t *dataSize) |
| | Export current device settings as a preset json data.
|
| void | exportSettingsAsPresetJsonFile (const char *filePath) const |
| | Export current device settings as a preset json file.
|
| OBDeviceState | getDeviceState () |
| | Get the current device status.
|
| void | sendAndReceiveData (const uint8_t *sendData, uint32_t sendDataSize, uint8_t *receiveData, uint32_t *receiveDataSize) const |
| | Send data to the device and receive data from the device.
|
| bool | isFrameInterleaveSupported () const |
| | Check if the device supports the frame interleave feature.
|
| void | loadFrameInterleave (const char *frameInterleaveName) const |
| | load the frame interleave according to frame interleave name.
|
| std::shared_ptr< DeviceFrameInterleaveList > | getAvailableFrameInterleaveList () const |
| | Get available frame interleave list.
|
| std::shared_ptr< PresetResolutionConfigList > | getAvailablePresetResolutionConfigList () const |
| | Get the available preset resolution config list.
|
| void | deviceUpgrade (const char *filePath, DeviceFwUpdateCallback callback, bool async=true) |
| void | deviceUpgradeFromData (const uint8_t *firmwareData, uint32_t firmwareDataSize, DeviceFwUpdateCallback callback, bool async=true) |
| std::shared_ptr< CameraParamList > | getCalibrationCameraParamList () |
| void | loadDepthFilterConfig (const char *filePath) |