Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory0Arg< Base > Struct Template Reference

Typed base class for factories which don't require any arguments to construct their product, see Factories.h file notes. More...

#include <Factories.h>

Inheritance diagram for Factory0Arg< Base >:

Detailed Description

template<class Base>
struct Factory0Arg< Base >

Typed base class for factories which don't require any arguments to construct their product, see Factories.h file notes.

Note that this does not mean the product has to be constructed without arguments... see Factory0Arg1Static for example.

Definition at line 38 of file Factories.h.

List of all members.

Classes

struct  Factory
 concrete class for constructing products of a specified subtype of Base More...

Public Member Functions

virtual Base * operator() ()=0
 functor interface for constructing the product
virtual void * construct ()
 functor interface for constructing the product

Member Function Documentation

template<class Base>
virtual void* Factory0Arg< Base >::construct (  )  [virtual]

functor interface for constructing the product

Implements Factory0ArgBase.

Definition at line 41 of file Factories.h.


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