Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::PluginFactory< Iface > Class Template Reference

Plugin factory template class. More...

#include <pplugin.h>

Inheritance diagram for P::PluginFactory< Iface >:

P::PluginFactoryImpl List of all members.

Public Member Functions

 PluginFactory ()
 Constructs the object.

 ~PluginFactory ()
Iface * create (const char *feature)
 Create instance of plugin object.

void destroy (Iface *inst)
 Destroy instance of plugin object.


Detailed Description

template<class Iface>
class P::PluginFactory< Iface >

Plugin factory template class.

Definition at line 120 of file pplugin.h.


Constructor & Destructor Documentation

template<class Iface>
P::PluginFactory< Iface >::PluginFactory  )  [inline]
 

Constructs the object.

The constructor initializes the base object using the RTTI typeid of the template'd interface type.

Definition at line 127 of file pplugin.h.

template<class Iface>
P::PluginFactory< Iface >::~PluginFactory  )  [inline]
 

Definition at line 131 of file pplugin.h.


Member Function Documentation

template<class Iface>
Iface* P::PluginFactory< Iface >::create const char *  feature  )  [inline]
 

Create instance of plugin object.

Reimplemented from P::PluginFactoryImpl.

Definition at line 135 of file pplugin.h.

template<class Iface>
void P::PluginFactory< Iface >::destroy Iface *  inst  )  [inline]
 

Destroy instance of plugin object.

Definition at line 139 of file pplugin.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:35 2004 for P::Classes by doxygen 1.3.3