Support for dynamically loaded plugins.
More...
Support for dynamically loaded plugins.
typedef Plugin* mi::base::Plugin_factory(unsigned int index, void *context) |
Typedef for the initializer function to be provided by every plugin.
The initializer function is used to obtain an instance of every plugin class. Note that the actual defintion of the initializer function needs to be marked as
- Parameters
-
index |
The index of the plugin. |
context |
The execution context for the plugin. |
const char * mi::base::Plugin::get_compiler |
( |
) |
|
const |
|
inlinevirtual |
Get the compiler used to compile the plugin.
- Returns
- A string describing the compiler used to compile the plugin.
Sint32 mi::base::Plugin::get_version |
( |
) |
|
const |
|
inlinevirtual |
Get the version of the plugin.
- Returns
- The version number of the plugin.