Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Factory Class Template Reference

A concrete subclass of the Factory interface. More...

#include <Factory.h>

Inheritance diagram for Factory

Inheritance graph
[legend]
Collaboration diagram for Factory:

Collaboration graph
[legend]
List of all members.

Public Methods

 Factory (const char* description = "")
virtual AbstractProduct* Create ()
 Return a Product as a pointer to the ProductBase.

virtual const char* GetDescription ()

Detailed Description

template<typename AbstractProduct, typename Product, int dlen = 32> template class Factory

A concrete subclass of the Factory interface.

This simplifies creation of an AbstractFactory.


The documentation for this class was generated from the following file:
Generated at Mon Nov 27 01:46:51 2000 for LibPenguinPlay by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000