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

vlGenericFactory< ClassName > Class Template Reference

This is a generic class to create a factory for a OpenVL plugin. More...

#include <vlgenericfactory.h>

Inheritance diagram for vlGenericFactory< ClassName >:

vlLibFactory List of all members.

Public Member Functions

 vlGenericFactory ()
virtual ~vlGenericFactory ()
vlPlugincreate ()

Detailed Description

template<typename ClassName>
class vlGenericFactory< ClassName >

Each OpenVL plugin needs a factory which can create plugin objects. This class is the generic implementation of a factory. Any OpenVL plugin can make use of this generic factory instead of writing a new one. Usage : A factory for a plugin class MyPlugin would be declared as: vlGenericFactory<MyPlugin>. This will create a factory which create plugin objects of MyPlugin.

Author:
Sarang Lakare <sarang#users.sf.net>

Definition at line 41 of file vlgenericfactory.h.


Constructor & Destructor Documentation

template<typename ClassName>
vlGenericFactory< ClassName >::vlGenericFactory  )  [inline]
 

Definition at line 44 of file vlgenericfactory.h.

template<typename ClassName>
virtual vlGenericFactory< ClassName >::~vlGenericFactory  )  [inline, virtual]
 

Definition at line 46 of file vlgenericfactory.h.


Member Function Documentation

template<typename ClassName>
vlPlugin* vlGenericFactory< ClassName >::create  )  [inline, virtual]
 

Implements vlLibFactory.

Definition at line 49 of file vlgenericfactory.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 18 11:33:18 2005 for OpenVL by doxygen 1.3.3