| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Factory< B > Class Template Reference#include <Factory.h>
Inheritance diagram for Factory< B >: ![]() Detailed Descriptiontemplate<class B>
A lightweight class to override for constructing new objects (if you need to pass constructors parameters, etc.).
| |||||||||||||||||||||
Public Member Functions | |
| virtual B * | construct () |
| Just returns a new B. | |
| virtual void * | constructTemplate () |
| return a new object from the Factory subclass | |
| virtual B* Factory< B >::construct | ( | ) | [inline, virtual] |
Just returns a new B.
Reimplemented in Factory1Arg< B, A1, a1 >, Factory2Arg< B, A1, a1, A2, a2 >, Factory3Arg< B, A1, a1, A2, a2, A3, a3 >, and Factory4Arg< B, A1, a1, A2, a2, A3, a3, A4, a4 >.
Definition at line 21 of file Factory.h.
Referenced by Factory< B >::constructTemplate().
| virtual void* Factory< B >::constructTemplate | ( | ) | [inline, virtual] |
return a new object from the Factory subclass
Implements FactoryBase.
Reimplemented in Factory1Arg< B, A1, a1 >, Factory2Arg< B, A1, a1, A2, a2 >, Factory3Arg< B, A1, a1, A2, a2, A3, a3 >, and Factory4Arg< B, A1, a1, A2, a2, A3, a3, A4, a4 >.
|
Tekkotsu v3.0 |
Generated Wed Oct 4 00:05:01 2006 by Doxygen 1.4.7 |