omni/graph/exec/unstable/INodeGraphDef.gen.h

File members: omni/graph/exec/unstable/INodeGraphDef.gen.h

// 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. ----------
//

#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<omni::graph::exec::unstable::INodeGraphDef_abi>
    : public omni::graph::exec::unstable::INodeGraphDef_abi
{
public:
    OMNI_PLUGIN_INTERFACE("omni::graph::exec::unstable::INodeGraphDef")

    omni::graph::exec::unstable::ITopology* getTopology() noexcept;

    void initializeState(omni::graph::exec::unstable::ExecutionTask& rootTask) noexcept;

    CARB_NODISCARD omni::graph::exec::unstable::Status preExecute(omni::graph::exec::unstable::ExecutionTask& info) noexcept;

    CARB_NODISCARD omni::graph::exec::unstable::Status postExecute(omni::graph::exec::unstable::ExecutionTask& info) noexcept;

    omni::core::ObjectPtr<omni::graph::exec::unstable::INodeFactory> getNodeFactory() noexcept;
};

#endif

#ifndef OMNI_BIND_INCLUDE_INTERFACE_DECL

inline omni::graph::exec::unstable::ITopology* omni::core::Generated<
    omni::graph::exec::unstable::INodeGraphDef_abi>::getTopology() noexcept
{
    return getTopology_abi();
}

inline void omni::core::Generated<omni::graph::exec::unstable::INodeGraphDef_abi>::initializeState(
    omni::graph::exec::unstable::ExecutionTask& rootTask) noexcept
{
    initializeState_abi(&rootTask);
}

inline omni::graph::exec::unstable::Status omni::core::Generated<omni::graph::exec::unstable::INodeGraphDef_abi>::preExecute(
    omni::graph::exec::unstable::ExecutionTask& info) noexcept
{
    return preExecute_abi(&info);
}

inline omni::graph::exec::unstable::Status omni::core::Generated<omni::graph::exec::unstable::INodeGraphDef_abi>::postExecute(
    omni::graph::exec::unstable::ExecutionTask& info) noexcept
{
    return postExecute_abi(&info);
}

inline omni::core::ObjectPtr<omni::graph::exec::unstable::INodeFactory> omni::core::Generated<
    omni::graph::exec::unstable::INodeGraphDef_abi>::getNodeFactory() noexcept
{
    return omni::core::steal(getNodeFactory_abi());
}

#endif

#undef OMNI_BIND_INCLUDE_INTERFACE_DECL
#undef OMNI_BIND_INCLUDE_INTERFACE_IMPL