Factory1< AbstractProduct, IdentifierType, creatorParam > Class Template Reference

#include <factory.h>

List of all members.

Public Types

typedef AbstractProduct *(*) ObjectCreatorCallBack (creatorParam param)

Public Member Functions

bool registerClass (IdentifierType id, ObjectCreatorCallBack createFn)
AbstractProduct * createObject (IdentifierType id, creatorParam param)


Detailed Description

template<class AbstractProduct, typename IdentifierType, typename creatorParam>
class Factory1< AbstractProduct, IdentifierType, creatorParam >

Definition at line 60 of file factory.h.


Member Typedef Documentation

template<class AbstractProduct, typename IdentifierType, typename creatorParam>
typedef AbstractProduct*(*) Factory1< AbstractProduct, IdentifierType, creatorParam >::ObjectCreatorCallBack(creatorParam param)

Definition at line 62 of file factory.h.


Member Function Documentation

template<class AbstractProduct, typename IdentifierType, typename creatorParam>
bool Factory1< AbstractProduct, IdentifierType, creatorParam >::registerClass ( IdentifierType  id,
ObjectCreatorCallBack  createFn 
) [inline]

Definition at line 67 of file factory.h.

template<class AbstractProduct, typename IdentifierType, typename creatorParam>
AbstractProduct* Factory1< AbstractProduct, IdentifierType, creatorParam >::createObject ( IdentifierType  id,
creatorParam  param 
) [inline]

Definition at line 68 of file factory.h.

References fatalError().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:46:43 2012 for Advanced Strategic Command by  doxygen 1.5.1