Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Factory1Arg< Base, A1 > Struct Template Reference#include <Factories.h>
Inheritance diagram for Factory1Arg< Base, A1 >:
![]() Detailed Descriptiontemplate<class Base, class A1>
Typed base class for factories which require a single argument to construct their product, which is passed to the concrete Factory's functor.
|
Public Member Functions | |
virtual Base * | operator() (const A1 &a1)=0 |
functor interface for constructing the product | |
virtual void * | construct (const A1 &a1) |
functor interface for constructing the product | |
Classes | |
struct | Factory |
concrete class for constructing products of a specified subtype of Base More... |
virtual Base* Factory1Arg< Base, A1 >::operator() | ( | const A1 & | a1 | ) | [pure virtual] |
functor interface for constructing the product
Implemented in Factory1Arg< Base, A1 >::Factory< T >, Factory1Arg1Static< Base, A1, S1, s1 >::Factory< T >, Factory1Static1Arg< Base, S1, s1, A1 >::Factory< T >, Factory0_1Arg< Base, A1 >::Factory< T >, and Factory1Static_1Arg< Base, S1, s1, A1 >::Factory< T >.
Referenced by Factory1Arg< Base, A1 >::construct().
virtual void* Factory1Arg< Base, A1 >::construct | ( | const A1 & | a1 | ) | [inline, virtual] |
functor interface for constructing the product
Implements Factory1ArgBase< A1 >.
Definition at line 100 of file Factories.h.
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:22 2007 by Doxygen 1.5.4 |