NVIDIA Iray: Base API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::base::IPlugin_descriptor Class Referenceabstract

Represents a plugin. More...

#include <plugin.h>

Inheritance diagram for mi::base::IPlugin_descriptor:
mi::base::Interface_declare< 0x1708ae5a, 0xa49e, 0x43c4, 0xa3, 0x94, 0x00, 0x38, 0x4c, 0x59, 0xe8, 0x67 > mi::base::IInterface

Public Member Functions

virtual base::Pluginget_plugin () const =0
 Returns the plugin itself. More...
 
virtual const char * get_plugin_library_path () const =0
 Returns the library path of the plugin. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x1708ae5a, 0xa49e, 0x43c4, 0xa3, 0x94, 0x00, 0x38, 0x4c, 0x59, 0xe8, 0x67 >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IInterface
Self
 Own type.
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface.
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0x1708ae5a, 0xa49e, 0x43c4, 0xa3, 0x94, 0x00, 0x38, 0x4c, 0x59, 0xe8, 0x67 >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 
- Static Protected Member Functions inherited from mi::base::Interface_declare< 0x1708ae5a, 0xa49e, 0x43c4, 0xa3, 0x94, 0x00, 0x38, 0x4c, 0x59, 0xe8, 0x67 >
static const IInterfaceget_interface_static (const IInterface *iinterface, const Uuid &interface_id)
 
static IInterfaceget_interface_static (IInterface *iinterface, const Uuid &interface_id)
 

Detailed Description

Represents a plugin.

This interface is used to represent loaded plugins as reference-counted interfaces since mi::base::Plugin is not reference-counted. In addition, it provides the path from where the plugin was loaded.

Member Function Documentation

virtual base::Plugin* mi::base::IPlugin_descriptor::get_plugin ( ) const
pure virtual

Returns the plugin itself.

Note
The returned pointer is not referenced-counted. It is only valid as long as the plugin descriptor is valid.
Returns
The plugin.
virtual const char* mi::base::IPlugin_descriptor::get_plugin_library_path ( ) const
pure virtual

Returns the library path of the plugin.

Returns
The library path of the plugin, or NULL in case of failure.

The documentation for this class was generated from the following file: