neuray API Programmer's Manual

ihost_properties.h File Reference

Description

Information about a local or remote host.

Code Example

ihost_properties.h

‎/***************************************************************************************************
 * Copyright 2024 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_NEURAYLIB_IHOST_PROPERTIES_H
#define MI_NEURAYLIB_IHOST_PROPERTIES_H

#include <mi/base/interface_declare.h>

namespace mi {

class IString;

namespace neuraylib {




class IHost_properties : public
    mi::base::Interface_declare<0xac76eb08,0x1c7e,0x43d7,0x9e,0xea,0xec,0x8d,0x9a,0x10,0x23,0x80>
{
 public:
     virtual const IString* get_address() const = 0;

     virtual Size 
               get_amount_of_memory() const = 0;

     virtual Size 
               get_cpu_count() const = 0;

     virtual Size 
               get_siblings_per_cpu() const = 0;

     virtual Size 
               get_gpu_count() const = 0;

     virtual const IString* get_property( const char* key) const = 0;
         
     virtual Uint32 
               get_host_id() const = 0;
};
 // end group mi_neuray_configuration

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IHOST_PROPERTIES_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

class 
This interface contains information about a local or remote host. More...