DiCE API nvidia_logo_transpbg.gif Up
iplugin_configuration.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IPLUGIN_CONFIGURATION_H
8#define MI_NEURAYLIB_IPLUGIN_CONFIGURATION_H
9
10#include <mi/base/plugin.h>
12
13namespace mi {
14
15namespace neuraylib {
16
23 mi::base::Interface_declare<0x11285c46,0x9791,0x498d,0xbd,0xfe,0x8f,0x51,0x84,0x81,0x98,0xd4>
24{
25public:
36 virtual Sint32 load_plugin_library( const char* path) = 0;
37
47 virtual Sint32 load_plugins_from_directory( const char* path) = 0;
48
52 virtual Size get_plugin_length() const = 0;
53
59};
60 // end group mi_neuray_configuration
62
63} // namespace neuraylib
64
65} // namespace mi
66
67#endif // MI_NEURAYLIB_IPLUGIN_CONFIGURATION_H
Represents a plugin.
Definition: plugin.h:91
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface is used to load plugins and to query information about loaded plugins.
Definition: iplugin_configuration.h:24
virtual Size get_plugin_length() const =0
Returns the number of loaded plugins.
virtual Sint32 load_plugins_from_directory(const char *path)=0
Loads all plugins from a given directory.
virtual Sint32 load_plugin_library(const char *path)=0
Loads a plugin library.
virtual base::IPlugin_descriptor * get_plugin_descriptor(Size index) const =0
Returns a descriptor for the index -th loaded plugin.
Uint64 Size
Unsigned integral type that is large enough to hold the size of all types.
Definition: types.h:112
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
Base class for all plugins.