neuray API Programmer's Manual

igeneral_configuration.h File Reference

Description

API component for general settings.

Code Example

igeneral_configuration.h

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

#ifndef MI_NEURAYLIB_IGENERAL_CONFIGURATION_H
#define MI_NEURAYLIB_IGENERAL_CONFIGURATION_H

#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {

class IHost_properties;


class IGeneral_configuration : public
    mi::base::Interface_declare<0x4df9426f,0xaab5,0x4453,0xbd,0x53,0xc1,0xfb,0x0d,0x82,0xf9,0x7f>
{
public:
    virtual Sint32 
               set_admin_http_address(const char* listen_address) = 0;

    virtual const IHost_properties* get_host_properties() const = 0;

    virtual Sint32 
               set_host_property(const char* key, const char* value) = 0;

    virtual Sint32 
               set_temp_path(const char* path) = 0;

    virtual const char* get_temp_path() const = 0;

    virtual Sint32 
               set_http_proxy_address(const char* proxy_address) = 0;

    virtual const char* get_http_proxy_address() const = 0;

    virtual Sint32 
               set_http_proxy_authentication(const char* username,
        const char* password) = 0;

    virtual const char* get_http_proxy_username() const = 0;
};
 // end group mi_neuray_configuration

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IGENERAL_CONFIGURATION_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 is used to query and change the general configuration. More...