Program Listing for omni/platforminfo/IMemoryInfo.h

↰ Return to documentation for omni/platforminfo/IMemoryInfo.h

// Copyright (c) 2021-2022, 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 <omni/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"