IvtPluginsManager Class Reference
[IvTuneExtender]
Class that manages the loading of IvTune plug-ins.
More...
#include <IvTune/IvTuneExtender/IvtPluginsManager.h>
List of all members.
Detailed Description
Class that manages the loading of IvTune plug-ins.
This class automatically loads the IvTune plug-ins and their extensions according to the profile configuration.
Since Open Inventor 9.0
SEE ALSO
IvtProfile
- See related examples:
-
MySecondExtensionExamples
Constructor & Destructor Documentation
IvtPluginsManager::~IvtPluginsManager |
( |
|
) |
|
Member Function Documentation
void IvtPluginsManager::addProfile |
( |
IvtProfile * |
profile |
) |
|
Add the specified profile to the list of profiles managed by this plug-in manager.
- Parameters:
-
| profile | the profile to add. |
IvtProfile* IvtPluginsManager::getActiveProfile |
( |
|
) |
const |
Returns the active profile.
Returns an instance of this plug-ins manager.
Returns a plug-in given its name.
- Parameters:
-
| name | the name of the plug-in to get. |
const std::list< IvtPlugin* >& IvtPluginsManager::getPlugins |
( |
|
) |
const |
Returns the loaded plug-ins list.
Returns a profile given its name.
- Parameters:
-
| name | the name of the profile to get. |
const std::list<IvtProfile*>& IvtPluginsManager::getProfilesList |
( |
|
) |
const |
Returns the profiles list.
Load the specified plug-in and return a pointer to it.
- Parameters:
-
| path | the path to the plug-in to load. |
| fileName | the name of the plug-in to load. |
void IvtPluginsManager::read |
( |
const SbString & |
configFilePath, |
|
|
bool |
isPath = true | |
|
) |
| | |
Read the configuration file, load plug-ins and extensions, and set up the profiles.
- Parameters:
-
| configFilePath | the path to the configuration file to load. |
| isPath | indicates whether it is a path to file or an in-memory file. |
static void IvtPluginsManager::releaseInstance |
( |
|
) |
[static] |
Release the current instance of this plug-ins manager.
All Plug-ins and extensions are unloaded before.
void IvtPluginsManager::removeProfile |
( |
IvtProfile * |
profile |
) |
|
Remove the given profile from the list of managed profiles.
- Parameters:
-
| profile | the profile to remove. |
void IvtPluginsManager::setActiveProfile |
( |
IvtProfile * |
profile |
) |
|
Set the given profile to be the active profile.
Extensions in the previous profile are deactivated and extensions in the given profile are activated.
- Parameters:
-
| profile | the new active profile. |
void IvtPluginsManager::unloadAllPlugins |
( |
|
) |
|
Unload all the loaded plug-ins.
void IvtPluginsManager::unloadPlugin |
( |
IvtPlugin * |
plugin |
) |
|
Unload the specified plug-in.
- Parameters:
-
| plugin | the plugin to unload. |
void IvtPluginsManager::write |
( |
const SbString & |
configFilePath |
) |
|
Write the current configuration to the specified file.
- Parameters:
-
| configFilePath | the path to the configuration file. |
The documentation for this class was generated from the following file: