Base class for implementing IvTune plug-ins.
More...
#include <IvTune/IvTuneExtender/IvtPlugin.h>
Public Member Functions | |
| void | addExtension (IvtExtension *ext) |
| Adds an extension to this plug-in's list of extensions. | |
| IvtExtension * | getExtensionByName (const SbString &name) |
| Returns the extension whose name matches the given name. | |
| const std::vector< IvtExtension * > & | getExtensions () const |
| Returns the list of extensions loaded by this plug-in. | |
| const IvtPluginInfo & | getInfo () const |
| Returns the info structure for this plug-in. | |
| virtual void | load () |
| Load the extensions of this plug-in. | |
| virtual void | unload () |
| Unload the extensions of this plug-in. | |
Base class for implementing IvTune plug-ins.
This class is the base class for implementing IvTune plug-ins. It provides the loading and release mechanism for the extension of the plug-in, as well as methods to retrieve information about it.
Definition at line 79 of file IvtPlugin.h.
| void IvtPlugin::addExtension | ( | IvtExtension * | ext | ) |
Adds an extension to this plug-in's list of extensions.
| ext | the extension to add. |
| IvtExtension * IvtPlugin::getExtensionByName | ( | const SbString & | name | ) |
Returns the extension whose name matches the given name.
| name | the extension's name. |
| const std::vector< IvtExtension * > & IvtPlugin::getExtensions | ( | ) | const |
Returns the list of extensions loaded by this plug-in.
| const IvtPluginInfo & IvtPlugin::getInfo | ( | ) | const |
Returns the info structure for this plug-in.
|
virtual |
Load the extensions of this plug-in.
The method is called when the plug-in is loaded.
|
virtual |
Unload the extensions of this plug-in.
The method is called when the plug-in is unloaded.