libglass::PluginManagerBase Class Reference

#include <plugin.h>

List of all members.

Static Public Member Functions

static PluginManagerBasegetHandle (void)

Protected Member Functions

 ~PluginManagerBase ()
PluginManagercreatePluginManager (Glass *g)
bool registerPlugin (PluginBase *base)

Friends

class PluginBase
class Glass


Detailed Description

All plugins should register with PluginManagerBase (this should be done automatically, and is explained in the corresponding section).

This class is a singleton factory. Every Glass has its own PluginManager, which is built by this class.

See also:
Glass, PluginManager.

Definition at line 54 of file plugin.h.


Constructor & Destructor Documentation

libglass::PluginManagerBase::~PluginManagerBase (  )  [protected]


Member Function Documentation

PluginManager* libglass::PluginManagerBase::createPluginManager ( Glass g  )  [protected]

Creates a new, clean instance of PluginManager. This is a virtual constructor.

Parameters:
g Our owner.
Returns:
A brand new PluginManager, with brand new PluginBases.

static PluginManagerBase& libglass::PluginManagerBase::getHandle ( void   )  [static]

Returns a handle to this class. This class is a pseudo-singleton.

Returns:
A handle to this class.

bool libglass::PluginManagerBase::registerPlugin ( PluginBase base  )  [protected]

Registers a plugin.


Friends And Related Function Documentation

friend class Glass [friend]

Definition at line 80 of file plugin.h.

friend class PluginBase [friend]

Definition at line 79 of file plugin.h.


The documentation for this class was generated from the following file:

Generated on Fri May 28 13:19:01 2010 for libGlass by  doxygen 1.5.8