Base class for implementing IvTune plug-ins. More...
#include <IvTune/IvTuneExtender/IvtPlugin.h>
Public Member Functions | |
void | addExtension (IvtExtension *ext) |
IvtExtension * | getExtensionByName (const SbString &name) |
const std::vector < IvtExtension * > & | getExtensions () const |
const IvtPluginInfo & | getInfo () const |
virtual void | load () |
virtual void | unload () |
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.
Since Open Inventor 9.0IvtTutorial, MyFirstExtensionExamples, MySecondExtensionExamples, DirectionalLightEditor, IvtToolsExamples, ProcessingMenu, ShaderEditor, TraversalMenu, ViewingToolbar, AlphaCurveEditor, IvtToolsLDMExamples, SFLDMResourceParameters
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 void IvtPlugin::load | ( | ) | [virtual] |
Load the extensions of this plug-in.
The method is called when the plug-in is loaded.
virtual void IvtPlugin::unload | ( | ) | [virtual] |
Unload the extensions of this plug-in.
The method is called when the plug-in is unloaded.