omni/structuredlog/IStructuredLogControl.h

File members: omni/structuredlog/IStructuredLogControl.h

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

#include "StructuredLogCommon.h"

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

namespace omni
{
namespace structuredlog
{

class IStructuredLogControl;

// ******************************* enums, types, and constants ************************************
constexpr EventId kAllSchemas = ~2ull;

// ******************************* IStructuredLogControl interface ********************************
class IStructuredLogControl_abi
    : public omni::core::Inherits<omni::core::IObject, OMNI_TYPE_ID("omni.structuredlog.IStructuredLogControl")>
{
protected:
    virtual void closeLog_abi(EventId event) noexcept = 0;

    virtual void stop_abi() noexcept = 0;
};

} // namespace structuredlog
} // namespace omni

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

class omni::structuredlog::IStructuredLogControl
    : public omni::core::Generated<omni::structuredlog::IStructuredLogControl_abi>
{
};

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