![]() |
TrinityCore
|
#include <FactoryHolder.h>
Inheritance diagram for FactoryHolder< T, O, Key >:Public Types | |
| typedef ObjectRegistry< FactoryHolder< T, O, Key >, Key > | FactoryHolderRegistry |
Public Member Functions | |
| FactoryHolder (Key const &k) | |
| virtual | ~FactoryHolder () |
| void | RegisterSelf () |
| virtual T * | Create (O *object=nullptr) const =0 |
| Abstract Factory create method. | |
Private Attributes | |
| Key const | _key |
FactoryHolder holds a factory object of a specific type
Definition at line 27 of file FactoryHolder.h.
| typedef ObjectRegistry<FactoryHolder<T, O, Key>, Key> FactoryHolder< T, O, Key >::FactoryHolderRegistry |
Definition at line 30 of file FactoryHolder.h.
|
inlineexplicit |
Definition at line 32 of file FactoryHolder.h.
|
inlinevirtual |
Definition at line 33 of file FactoryHolder.h.
|
pure virtual |
Abstract Factory create method.
Here is the caller graph for this function:
|
inline |
|
private |
Definition at line 40 of file FactoryHolder.h.