TrinityCore
|
#include <FactoryHolder.h>
Public Types | |
typedef ObjectRegistry < FactoryHolder< T, Key >, Key > | FactoryHolderRegistry |
Public Member Functions | |
FactoryHolder (Key k) | |
virtual | ~FactoryHolder () |
Key | key () const |
void | RegisterSelf (void) |
void | DeregisterSelf (void) |
virtual T * | Create (void *data=NULL) const =0 |
Abstract Factory create method. More... | |
Private Attributes | |
Key | i_key |
FactoryHolder holds a factory object of a specific type
typedef ObjectRegistry<FactoryHolder<T, Key >, Key > FactoryHolder< T, Key >::FactoryHolderRegistry |
|
inline |
|
inlinevirtual |
|
pure virtual |
Abstract Factory create method.
Implemented in MovementGeneratorFactory< REAL_MOVEMENT >, GameObjectAIFactory< REAL_GO_AI >, and CreatureAIFactory< REAL_AI >.
|
inline |
|
inline |
|
inline |
|
private |