// Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA CORPORATION is strictly prohibited.
//
// --------- Warning: This is a build system generated file. ----------
//

//! @file
//!
//! @brief This file was generated by <i>omni.bind</i>.

#include <omni/core/Interface.h>
#include <omni/core/OmniAttr.h>
#include <omni/core/ResultError.h>

#include <functional>
#include <type_traits>
#include <utility>

#ifndef OMNI_BIND_INCLUDE_INTERFACE_IMPL


template <>
class omni::core::Generated<usdrt::IRtAttribute105_abi> : public usdrt::IRtAttribute105_abi
{
public:
    OMNI_PLUGIN_INTERFACE("usdrt::IRtAttribute105")


    omni::fabric::ConstSpanC getValueGpuRd() noexcept;


    bool isCpuDataValid() noexcept;


    bool isGpuDataValid() noexcept;


    bool updateCpuDataFromGpu() noexcept;


    bool updateGpuDataFromCpu() noexcept;


    bool addConnection(omni::fabric::Connection source, usdrt::ListPosition position) noexcept;


    bool removeConnection(omni::fabric::Connection source) noexcept;


    bool setConnections(const omni::fabric::Connection* sources, uint32_t size) noexcept;


    bool clearConnections() noexcept;


    bool getConnections(omni::fabric::Connection* sources, uint32_t size) noexcept;


    bool hasAuthoredConnections() noexcept;


    uint32_t numConnections() noexcept;
};

#endif

#ifndef OMNI_BIND_INCLUDE_INTERFACE_DECL

inline omni::fabric::ConstSpanC omni::core::Generated<usdrt::IRtAttribute105_abi>::getValueGpuRd() noexcept
{
    return getValueGpuRd_abi();
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::isCpuDataValid() noexcept
{
    return isCpuDataValid_abi();
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::isGpuDataValid() noexcept
{
    return isGpuDataValid_abi();
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::updateCpuDataFromGpu() noexcept
{
    return updateCpuDataFromGpu_abi();
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::updateGpuDataFromCpu() noexcept
{
    return updateGpuDataFromCpu_abi();
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::addConnection(omni::fabric::Connection source,
                                                                             usdrt::ListPosition position) noexcept
{
    return addConnection_abi(source, position);
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::removeConnection(omni::fabric::Connection source) noexcept
{
    return removeConnection_abi(source);
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::setConnections(const omni::fabric::Connection* sources,
                                                                              uint32_t size) noexcept
{
    return setConnections_abi(sources, size);
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::clearConnections() noexcept
{
    return clearConnections_abi();
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::getConnections(omni::fabric::Connection* sources,
                                                                              uint32_t size) noexcept
{
    return getConnections_abi(sources, size);
}

inline bool omni::core::Generated<usdrt::IRtAttribute105_abi>::hasAuthoredConnections() noexcept
{
    return hasAuthoredConnections_abi();
}

inline uint32_t omni::core::Generated<usdrt::IRtAttribute105_abi>::numConnections() noexcept
{
    return numConnections_abi();
}

#endif

#undef OMNI_BIND_INCLUDE_INTERFACE_DECL
#undef OMNI_BIND_INCLUDE_INTERFACE_IMPL
