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 |
|
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(). |
|
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 v2.4.1 |
Generated Tue Aug 16 16:35:01 2005 by Doxygen 1.4.4 |