24#ifndef IVT_PLUGINS_MANAGER_H
25#define IVT_PLUGINS_MANAGER_H
33#include <IvTune/IvTuneExtender/IvtLibName.h>
35#include <Inventor/SbString.h>
37#include <Inventor/STL/list>
38#include <Inventor/STL/map>
39#include <Inventor/STL/pair>
40#include <Inventor/STL/string>
43#include <QtXml/QDomElement>
46# if !defined(IvTuneExtenderAPI_EXPORTS)
47# ifndef OIV_DISABLE_AUTOLINK
48# pragma comment(lib,__IVTUNEEXTENDERAPILIB)
185 void readControlledExtension ( QDomElement& controlledExtension,
IvtProfileSetting* s);
188 void writeControlledExtension( QDomDocument& doc, QDomElement& extension,
IvtProfileSetting* setting );
191 std::list< IvtPlugin*> m_pluginsInstances;
200 std::list<IvtProfile*> m_profiles;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Base class for i...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class that manag...
const std::list< IvtProfile * > & getProfilesList() const
Returns the profiles list.
static IvtPluginsManager * getInstance()
Returns an instance of this plug-ins manager.
void removeProfile(IvtProfile *profile)
Remove the given profile from the list of managed profiles.
IvtProfile * getProfileByName(const SbString &name)
Returns a profile given its name.
IvtPlugin * getPluginByName(const SbString &name)
Returns a plug-in given its name.
const std::list< IvtPlugin * > & getPlugins() const
Returns the loaded plug-ins list.
void addProfile(IvtProfile *profile)
Add the specified profile to the list of profiles managed by this plug-in manager.
IvtProfile * getActiveProfile() const
Returns the active profile.
~IvtPluginsManager()
Destructor.
void write(const SbString &configFilePath)
Write the current configuration to the specified file.
void read(const SbString &configFilePath, bool isPath=true)
Read the configuration file, load plug-ins and extensions, and set up the profiles.
void unloadAllPlugins()
Unload all the loaded plug-ins.
void setActiveProfile(IvtProfile *profile)
Set the given profile to be the active profile.
void unloadPlugin(IvtPlugin *plugin)
Unload the specified plug-in.
IvtPlugin * loadPlugin(const SbString &path, const SbString &fileName)
Load the specified plug-in and return a pointer to it.
static void releaseInstance()
Release the current instance of this plug-ins manager.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Configuration pr...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> IvTune extension...
Class for smart character strings.