DiCE API nvidia_logo_transpbg.gif Up
igeneral_configuration.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IGENERAL_CONFIGURATION_H
8#define MI_NEURAYLIB_IGENERAL_CONFIGURATION_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
16class IHost_properties;
17
24 mi::base::Interface_declare<0x4df9426f,0xaab5,0x4453,0xbd,0x53,0xc1,0xfb,0x0d,0x82,0xf9,0x7f>
25{
26public:
39 virtual Sint32 set_admin_http_address(const char* listen_address) = 0;
40
46 virtual const IHost_properties* get_host_properties() const = 0;
47
56 virtual Sint32 set_host_property(const char* key, const char* value) = 0;
57
64 virtual Sint32 set_temp_path(const char* path) = 0;
65
69 virtual const char* get_temp_path() const = 0;
70
81 virtual Sint32 set_http_proxy_address(const char* proxy_address) = 0;
82
87 virtual const char* get_http_proxy_address() const = 0;
88
103 virtual Sint32 set_http_proxy_authentication(const char* username,
104 const char* password) = 0;
105
112 virtual const char* get_http_proxy_username() const = 0;
113};
114 // end group mi_neuray_configuration
116
117} // namespace neuraylib
118
119} // namespace mi
120
121#endif // MI_NEURAYLIB_IGENERAL_CONFIGURATION_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface is used to query and change the general configuration.
Definition: igeneral_configuration.h:25
virtual const char * get_http_proxy_username() const =0
Gets username for authentication with the HTTP proxy address for WebSocket.
virtual const IHost_properties * get_host_properties() const =0
Returns the host properties for this host.
virtual const char * get_temp_path() const =0
Returns the path for temporary files.
virtual Sint32 set_http_proxy_address(const char *proxy_address)=0
Enables or disables the usage of HTTP proxy for WebSocket.
virtual Sint32 set_host_property(const char *key, const char *value)=0
Sets a host property for this host.
virtual Sint32 set_admin_http_address(const char *listen_address)=0
Sets the address of the administrative HTTP server.
virtual Sint32 set_temp_path(const char *path)=0
Sets the path for temporary files.
virtual Sint32 set_http_proxy_authentication(const char *username, const char *password)=0
Sets username and password for authentication with the HTTP proxy address for WebSocket.
virtual const char * get_http_proxy_address() const =0
Gets the HTTP proxy address for WebSocket.
This interface contains information about a local or remote host.
Definition: ihost_properties.h:27
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: dice.h:89