IStructuredLogSettings3.h#

Fully qualified name: omni/structuredlog/IStructuredLogSettings3.h

File members: omni/structuredlog/IStructuredLogSettings3.h

// Copyright (c) 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.
//
#pragma once

#include "StructuredLogCommon.h"
#include "IStructuredLogSettings2.h"

#include "../core/IObject.h"

namespace omni
{
namespace structuredlog
{

class IStructuredLogSettings3;

enum class TelemetryMode
{
    eProduction,

    eDev,

    eTest,
};

// ****************************** IStructuredLogSettings3 interface *******************************
class IStructuredLogSettings3_abi
    : public omni::core::Inherits<omni::structuredlog::IStructuredLogSettings2_abi,
                                  OMNI_TYPE_ID("omni.structuredlog.IStructuredLogSettings3")>
{
protected:
    virtual void setMessageSourceTag_abi(TelemetryMode mode) noexcept = 0;

    virtual void settingsLoadComplete_abi() noexcept = 0;
};

} // namespace structuredlog
} // namespace omni

#define OMNI_BIND_INCLUDE_INTERFACE_DECL
#include "IStructuredLogSettings3.gen.h"

// insert custom API functions here.
class omni::structuredlog::IStructuredLogSettings3
    : public omni::core::Generated<omni::structuredlog::IStructuredLogSettings3_abi>
{
};

#define OMNI_BIND_INCLUDE_INTERFACE_IMPL
#include "IStructuredLogSettings3.gen.h"