Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

Yehia::PluginLoader Class Reference
[Plugin]

PluginLoader class. More...

#include <plugin.h>

Inheritance diagram for Yehia::PluginLoader:

Yehia::ErrorHandler List of all members.

Public Member Functions

 PluginLoader (Ptr< ErrorHandler > parent)
virtual std::string id () const=0
virtual Ptr< Pluginload (PluginManager &mgr, const std::string &name)=0
virtual void scan (PluginManager &mgr) const=0

Detailed Description

PluginLoader class.

A plugin loader is responsible for loading a class of plugins (e.g. there is a plugin loader for loading native C++ plugins and others for the scripting languages).


Constructor & Destructor Documentation

Yehia::PluginLoader::PluginLoader Ptr< ErrorHandler parent  )  [inline]
 

Constructor.

Parameters:
parent Parent errorhandler, passed to ErrorHandler::ErrorHandler(parent).


Member Function Documentation

virtual std::string Yehia::PluginLoader::id  )  const [pure virtual]
 

Get identification.

Returns:
A free-form string that identifies the plugin loader.

virtual Ptr<Plugin> Yehia::PluginLoader::load PluginManager mgr,
const std::string &  name
[pure virtual]
 

Load a plugin.

Parameters:
mgr The calling plugin manager.
name The name of the plugin to load

virtual void Yehia::PluginLoader::scan PluginManager mgr  )  const [pure virtual]
 

Scan for plugins.

Parameters:
mgr The calling plugin manager.


The documentation for this class was generated from the following file:
Generated on Thu May 1 21:13:04 2003 for Yehia by doxygen1.3