omni/structuredlog/IStructuredLogSettings.gen.h

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

// Copyright (c) 2021-2024, 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::IStructuredLogSettings_abi>
    : public omni::structuredlog::IStructuredLogSettings_abi
{
public:
    OMNI_PLUGIN_INTERFACE("omni::structuredlog::IStructuredLogSettings")

    size_t getEventQueueSize() noexcept;

    int64_t getLogSizeLimit() noexcept;

    size_t getLogRetentionCount() noexcept;

    omni::structuredlog::IdMode getEventIdMode() noexcept;

    omni::structuredlog::IdType getEventIdType() noexcept;

    const char* getLogOutputPath() noexcept;

    const char* getLogDefaultName() noexcept;

    const char* getLogPathForEvent(omni::structuredlog::EventId eventId) noexcept;

    const char* getUserId() noexcept;

    omni::structuredlog::SessionId getSessionId() noexcept;

    void setEventQueueSize(size_t sizeInBytes) noexcept;

    void setLogSizeLimit(int64_t limitInBytes) noexcept;

    void setLogRetentionCount(size_t count) noexcept;

    void setEventIdMode(omni::structuredlog::IdMode mode, omni::structuredlog::IdType type) noexcept;

    void setLogOutputPath(const char* path) noexcept;

    void setLogDefaultName(const char* name) noexcept;

    void setUserId(const char* userId) noexcept;

    bool loadPrivacySettings() noexcept;

    bool enableSchemasFromSettings() noexcept;
};

#endif

#ifndef OMNI_BIND_INCLUDE_INTERFACE_DECL

inline size_t omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getEventQueueSize() noexcept
{
    return getEventQueueSize_abi();
}

inline int64_t omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getLogSizeLimit() noexcept
{
    return getLogSizeLimit_abi();
}

inline size_t omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getLogRetentionCount() noexcept
{
    return getLogRetentionCount_abi();
}

inline omni::structuredlog::IdMode omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getEventIdMode() noexcept
{
    return getEventIdMode_abi();
}

inline omni::structuredlog::IdType omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getEventIdType() noexcept
{
    return getEventIdType_abi();
}

inline const char* omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getLogOutputPath() noexcept
{
    return getLogOutputPath_abi();
}

inline const char* omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getLogDefaultName() noexcept
{
    return getLogDefaultName_abi();
}

inline const char* omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getLogPathForEvent(
    omni::structuredlog::EventId eventId) noexcept
{
    return getLogPathForEvent_abi(eventId);
}

inline const char* omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getUserId() noexcept
{
    return getUserId_abi();
}

inline omni::structuredlog::SessionId omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::getSessionId() noexcept
{
    return getSessionId_abi();
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::setEventQueueSize(size_t sizeInBytes) noexcept
{
    setEventQueueSize_abi(sizeInBytes);
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::setLogSizeLimit(int64_t limitInBytes) noexcept
{
    setLogSizeLimit_abi(limitInBytes);
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::setLogRetentionCount(size_t count) noexcept
{
    setLogRetentionCount_abi(count);
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::setEventIdMode(
    omni::structuredlog::IdMode mode, omni::structuredlog::IdType type) noexcept
{
    setEventIdMode_abi(mode, type);
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::setLogOutputPath(const char* path) noexcept
{
    setLogOutputPath_abi(path);
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::setLogDefaultName(const char* name) noexcept
{
    setLogDefaultName_abi(name);
}

inline void omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::setUserId(const char* userId) noexcept
{
    setUserId_abi(userId);
}

inline bool omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::loadPrivacySettings() noexcept
{
    return loadPrivacySettings_abi();
}

inline bool omni::core::Generated<omni::structuredlog::IStructuredLogSettings_abi>::enableSchemasFromSettings() noexcept
{
    return enableSchemasFromSettings_abi();
}

#endif

#undef OMNI_BIND_INCLUDE_INTERFACE_DECL
#undef OMNI_BIND_INCLUDE_INTERFACE_IMPL