Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory1ArgBase< A1 > Struct Template Reference

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). More...

#include <Factories.h>

Inheritance diagram for Factory1ArgBase< A1 >:

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 94 of file Factories.h.

List of all members.

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 (  )  [virtual]

explicit destructor to avoid warnings regarding virtual functions without virtual destructor

Definition at line 98 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 v5.1CVS
Generated Mon May 9 04:59:07 2016 by Doxygen 1.6.3