omni/structuredlog/IStructuredLogSettings2.gen.h

File members: omni/structuredlog/IStructuredLogSettings2.gen.h

// Copyright (c) 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/OmniAttr.h>
#include <omni/core/Interface.h>
#include <omni/core/ResultError.h>

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

#ifndef OMNI_BIND_INCLUDE_INTERFACE_IMPL

template <>
class omni::core::Generated<omni::structuredlog::IStructuredLogSettings2_abi>
    : public omni::structuredlog::IStructuredLogSettings2_abi
{
public:
    OMNI_PLUGIN_INTERFACE("omni::structuredlog::IStructuredLogSettings2")

    uint64_t getHeartbeatPeriod() noexcept;

    void setHeartbeatPeriod(uint64_t period) noexcept;

    bool getNeedLogHeaders() noexcept;

    void setNeedLogHeaders(bool needHeaders) noexcept;

    omni::structuredlog::OutputFlags getOutputFlags() noexcept;

    void setOutputFlags(omni::structuredlog::OutputFlags flagsToAdd,
                        omni::structuredlog::OutputFlags flagsToRemove) noexcept;
};

#endif

#ifndef OMNI_BIND_INCLUDE_INTERFACE_DECL

inline uint64_t omni::core::Generated<omni::structuredlog::IStructuredLogSettings2_abi>::getHeartbeatPeriod() noexcept
{
    return getHeartbeatPeriod_abi();
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings2_abi>::setHeartbeatPeriod(uint64_t period) noexcept
{
    setHeartbeatPeriod_abi(period);
}

inline bool omni::core::Generated<omni::structuredlog::IStructuredLogSettings2_abi>::getNeedLogHeaders() noexcept
{
    return getNeedLogHeaders_abi();
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings2_abi>::setNeedLogHeaders(bool needHeaders) noexcept
{
    setNeedLogHeaders_abi(needHeaders);
}

inline omni::structuredlog::OutputFlags omni::core::Generated<
    omni::structuredlog::IStructuredLogSettings2_abi>::getOutputFlags() noexcept
{
    return getOutputFlags_abi();
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings2_abi>::setOutputFlags(
    omni::structuredlog::OutputFlags flagsToAdd, omni::structuredlog::OutputFlags flagsToRemove) noexcept
{
    setOutputFlags_abi(flagsToAdd, flagsToRemove);
}

#endif

#undef OMNI_BIND_INCLUDE_INTERFACE_DECL
#undef OMNI_BIND_INCLUDE_INTERFACE_IMPL