Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory1ArgBase< A1 > Struct Template Reference

#include <Factories.h>

Inheritance diagram for Factory1ArgBase< A1 >:

List of all members.


Detailed Description

template<class A1>
struct Factory1ArgBase< A1 >

Untyped base class for factories which require a single argument to construct their product, which is passed to the concrete Factory's functor (see Factory1Arg).

Note that this does not mean the product can only be constructed with only one argument... see Factory1Arg1Static for example.

Definition at line 88 of file Factories.h.


Public Member Functions

virtual void * construct (const A1 &a1)=0
 functor interface for constructing the product
virtual ~Factory1ArgBase ()
 explicit destructor to avoid warnings regarding virtual functions without virtual destructor

Constructor & Destructor Documentation

template<class A1>
virtual Factory1ArgBase< A1 >::~Factory1ArgBase (  )  [inline, virtual]

explicit destructor to avoid warnings regarding virtual functions without virtual destructor

Definition at line 92 of file Factories.h.


Member Function Documentation

template<class A1>
virtual void* Factory1ArgBase< A1 >::construct ( const A1 &  a1  )  [pure virtual]

functor interface for constructing the product

Implemented in Factory1Arg< Base, A1 >.


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:23 2007 by Doxygen 1.5.4