omni/log/ILogChannelFilter.h

File members: omni/log/ILogChannelFilter.h

// Copyright (c) 2020-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 "../core/IObject.h"
#include "../str/IReadOnlyCString.h"
#include "ILog.h"
#include "../extras/OutArrayUtils.h"

namespace omni
{
namespace log
{

class ILogChannelFilter_abi;
class ILogChannelFilter;
class ILogChannelFilter_abi : public omni::core::Inherits<omni::core::IObject, OMNI_TYPE_ID("omni.log.ILogChannelFilter")>
{
protected:
    virtual OMNI_ATTR("c_str, not_null") const char* getFilter_abi() noexcept = 0;

    virtual void getEnabled_abi(OMNI_ATTR("out, not_null") bool* isEnabled,
                                OMNI_ATTR("out, not_null") SettingBehavior* behavior,
                                OMNI_ATTR("out, not_null") bool* isUsed) noexcept = 0;

    virtual void getLevel_abi(OMNI_ATTR("out, not_null") Level* level,
                              OMNI_ATTR("out, not_null") SettingBehavior* behavior,
                              OMNI_ATTR("out, not_null") bool* isUsed) noexcept = 0;

    virtual bool isMatch_abi(OMNI_ATTR("c_str, not_null") const char* channel) noexcept = 0;
};

} // namespace log
} // namespace omni

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

class omni::log::ILogChannelFilter : public omni::core::Generated<omni::log::ILogChannelFilter_abi>
{
};

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