neuray API Programmer's Manual

mi::base::IPlugin_descriptor Class Reference

[Plugin Support]

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.

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...

Member Functions

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.