orbbec-sdk-sys 0.1.2+2.5.5

Low-level Rust bindings for https://github.com/orbbec/OrbbecSDK_v2
Documentation
// Copyright (c) Orbbec Inc. All Rights Reserved.
// Licensed under the MIT License.

#pragma once
#include "devicemanager/DeviceEnumInfoBase.hpp"

#include <iostream>
#include <string>
#include <vector>
#include <memory>

namespace libobsensor {

class OpenNIDeviceInfo : public DeviceEnumInfoBase, public std::enable_shared_from_this<OpenNIDeviceInfo> {
public:
    OpenNIDeviceInfo(const SourcePortInfoList groupedInfoList);
    ~OpenNIDeviceInfo() noexcept override;

    std::shared_ptr<IDevice> createDevice() const override;
#if defined(BUILD_USB_PAL)
    static std::vector<std::shared_ptr<IDeviceEnumInfo>> pickDevices(const SourcePortInfoList infoList);
#endif
};

}  // namespace libobsensor