IMemoryInfo.h#

Fully qualified name: omni/platforminfo/IMemoryInfo.h

File members: omni/platforminfo/IMemoryInfo.h

// SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
//
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
// property and proprietary rights in and to this material, related
// documentation and any modifications thereto. Any use, reproduction,
// disclosure or distribution of this material and related documentation
// without an express license agreement from NVIDIA CORPORATION or
// its affiliates is strictly prohibited.
#pragma once

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

namespace omni
{
namespace platforminfo
{

class IMemoryInfo;

class IMemoryInfo_abi : public omni::core::Inherits<omni::core::IObject, OMNI_TYPE_ID("omni.platforminfo.IMemoryInfo")>
{
protected:
    virtual size_t getTotalPhysicalMemory_abi() noexcept = 0;

    virtual size_t getAvailablePhysicalMemory_abi() noexcept = 0;

    virtual size_t getTotalPageFileMemory_abi() noexcept = 0;

    virtual size_t getAvailablePageFileMemory_abi() noexcept = 0;

    virtual size_t getProcessMemoryUsage_abi() noexcept = 0;

    virtual size_t getProcessPeakMemoryUsage_abi() noexcept = 0;
};

} // namespace platforminfo
} // namespace omni

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

class omni::platforminfo::IMemoryInfo : public omni::core::Generated<omni::platforminfo::IMemoryInfo_abi>
{
};

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