neuray API Programmer's Manual

iplugin_configuration.h File Reference

Description

API component for plugin related settings.

Code Example

iplugin_configuration.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_IPLUGIN_CONFIGURATION_H
#define MI_NEURAYLIB_IPLUGIN_CONFIGURATION_H

#include <mi/base/plugin.h>
#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {


class IPlugin_descriptor : public
    mi::base::Interface_declare<0x1708ae5a,0xa49e,0x43c4,0xa3,0x94,0x00,0x38,0x4c,0x59,0xe8,0x67>
{
public:
    virtual base::Plugin* get_plugin() const = 0;

    virtual const char* get_plugin_library_path() const = 0;
};

class IPlugin_configuration : public
    mi::base::Interface_declare<0x11285c46,0x9791,0x498d,0xbd,0xfe,0x8f,0x51,0x84,0x81,0x98,0xd4>
{
public:
    virtual Sint32 
               load_plugin_library(const char* path) = 0;

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

    virtual Size 
               get_plugin_length() const = 0;

    virtual IPlugin_descriptor* get_plugin_descriptor(Size index) const = 0;
};

 // end group mi_neuray_configuration

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IPLUGIN_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 load plugins and to query information about loaded plugins. More...
class 
Describes a plugin. More...