#include <pfactory.h>
Inheritance diagram for PFactory< _Abstract_T, _Key_T >:
Public Types | |
typedef _Key_T | Key_T |
typedef _Abstract_T | Abstract_T |
typedef std::map< _Key_T, WorkerBase * > | KeyMap_T |
typedef std::vector< _Key_T > | KeyList_T |
Static Public Member Functions | |
void | Register (const _Key_T &key, WorkerBase *worker) |
void | Register (const _Key_T &key, Abstract_T *instance) |
void | Unregister (const _Key_T &key) |
void | UnregisterAll () |
bool | IsRegistered (const _Key_T &key) |
_Abstract_T * | CreateInstance (const _Key_T &key) |
BOOL | IsSingleton (const _Key_T &key) |
KeyList_T | GetKeyList () |
KeyMap_T & | GetKeyMap () |
PMutex & | GetMutex () |
Protected Member Functions | |
PFactory () | |
~PFactory () | |
void | Register_Internal (const _Key_T &key, WorkerBase *worker) |
void | Unregister_Internal (const _Key_T &key) |
void | UnregisterAll_Internal () |
bool | IsRegistered_Internal (const _Key_T &key) |
_Abstract_T * | CreateInstance_Internal (const _Key_T &key) |
bool | IsSingleton_Internal (const _Key_T &key) |
KeyList_T | GetKeyList_Internal () |
Static Protected Member Functions | |
PFactory & | GetInstance () |
Protected Attributes | |
KeyMap_T | keyMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|