OpenGUI::PluginManager Class Reference

#include <OpenGUI_PluginManager.h>

List of all members.


Detailed Description

Plugin manager for tracking the proper loading and unloading of plugins.

Note:
All plugins are given a chance for notification when they are loaded and unloaded. Plugins that wish to receive this notification need to export:
Remarks:
Depending on how OpenGUI was configured when compiled the plugin system may perform varying degrees of filename mangling. An explanation and the current setting can be found in OpenGUI_CONFIG.h. To help explain how this works, the comment from that section of the config file is available here.


Public Member Functions

void loadPlugin (std::string filename)
 Loads a plugin by filename.
void unloadPlugin (std::string filename)
 Unloads a plugin by filename.
void unloadAllPlugins ()
 Unloads all currently loaded plugins.

Static Public Member Functions

static PluginManagergetSingleton (void)
 Retrieve the current singleton, if one exists. If none exists, this will cause an error.
static PluginManagergetSingletonPtr (void)
 Retrieve a pointer to the current singleton, if one exists. If none exists, this will return 0.


Member Function Documentation

PluginManager & OpenGUI::PluginManager::getSingleton ( void   )  [static]

Retrieve the current singleton, if one exists. If none exists, this will cause an error.

PluginManager * OpenGUI::PluginManager::getSingletonPtr ( void   )  [static]

Retrieve a pointer to the current singleton, if one exists. If none exists, this will return 0.

void OpenGUI::PluginManager::loadPlugin ( std::string  filename  ) 

Loads a plugin by filename.

void OpenGUI::PluginManager::unloadAllPlugins (  ) 

Unloads all currently loaded plugins.

void OpenGUI::PluginManager::unloadPlugin ( std::string  filename  ) 

Unloads a plugin by filename.


The documentation for this class was generated from the following files:
Copyright © 2006 OpenGUI | OpenGUI.SF.net
Generated: Fri Jan 5 23:05:25 2007