PFactory< _Abstract_T, _Key_T > Class Template Reference
#include <pfactory.h>
List of all members.
Detailed Description
template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
class PFactory< _Abstract_T, _Key_T >
Template class for generic factories of an abstract class.
Member Typedef Documentation
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
Constructor & Destructor Documentation
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
Member Function Documentation
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static _Abstract_T* PFactory< _Abstract_T, _Key_T >::CreateInstance |
( |
const _Key_T & |
key |
) |
[inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
_Abstract_T* PFactory< _Abstract_T, _Key_T >::CreateInstance_Internal |
( |
const _Key_T & |
key |
) |
[inline, protected] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static PFactory& PFactory< _Abstract_T, _Key_T >::GetInstance |
( |
|
) |
[inline, static, protected] |
References PFactoryBase::GetFactories(), PFactoryBase::GetFactoriesMutex(), and PAssert.
Referenced by PFactory< _Abstract_T, _Key_T >::CreateInstance(), PFactory< _Abstract_T, _Key_T >::GetKeyList(), PFactory< _Abstract_T, _Key_T >::GetKeyMap(), PFactory< _Abstract_T, _Key_T >::GetMutex(), PFactory< _Abstract_T, _Key_T >::IsRegistered(), PFactory< _Abstract_T, _Key_T >::IsSingleton(), PFactory< _Abstract_T, _Key_T >::Register(), PFactory< _Abstract_T, _Key_T >::Unregister(), and PFactory< _Abstract_T, _Key_T >::UnregisterAll().
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
KeyList_T PFactory< _Abstract_T, _Key_T >::GetKeyList_Internal |
( |
|
) |
[inline, protected] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static KeyMap_T& PFactory< _Abstract_T, _Key_T >::GetKeyMap |
( |
|
) |
[inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static PMutex& PFactory< _Abstract_T, _Key_T >::GetMutex |
( |
|
) |
[inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static bool PFactory< _Abstract_T, _Key_T >::IsRegistered |
( |
const _Key_T & |
key |
) |
[inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
bool PFactory< _Abstract_T, _Key_T >::IsRegistered_Internal |
( |
const _Key_T & |
key |
) |
[inline, protected] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static BOOL PFactory< _Abstract_T, _Key_T >::IsSingleton |
( |
const _Key_T & |
key |
) |
[inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
bool PFactory< _Abstract_T, _Key_T >::IsSingleton_Internal |
( |
const _Key_T & |
key |
) |
[inline, protected] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static void PFactory< _Abstract_T, _Key_T >::Register |
( |
const _Key_T & |
key, |
|
|
Abstract_T * |
instance | |
|
) |
| | [inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static void PFactory< _Abstract_T, _Key_T >::Register |
( |
const _Key_T & |
key, |
|
|
WorkerBase * |
worker | |
|
) |
| | [inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
void PFactory< _Abstract_T, _Key_T >::Register_Internal |
( |
const _Key_T & |
key, |
|
|
WorkerBase * |
worker | |
|
) |
| | [inline, protected] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static void PFactory< _Abstract_T, _Key_T >::Unregister |
( |
const _Key_T & |
key |
) |
[inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
void PFactory< _Abstract_T, _Key_T >::Unregister_Internal |
( |
const _Key_T & |
key |
) |
[inline, protected] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
static void PFactory< _Abstract_T, _Key_T >::UnregisterAll |
( |
|
) |
[inline, static] |
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
void PFactory< _Abstract_T, _Key_T >::UnregisterAll_Internal |
( |
|
) |
[inline, protected] |
Member Data Documentation
template<class _Abstract_T , typename _Key_T = PDefaultPFactoryKey>
Referenced by PFactory< _Abstract_T, _Key_T >::CreateInstance_Internal(), PFactory< _Abstract_T, _Key_T >::GetKeyList_Internal(), PFactory< _Abstract_T, _Key_T >::GetKeyMap(), PFactory< _Abstract_T, _Key_T >::IsRegistered_Internal(), PFactory< _Abstract_T, _Key_T >::IsSingleton_Internal(), PFactory< _Abstract_T, _Key_T >::Register_Internal(), PFactory< _Abstract_T, _Key_T >::Unregister_Internal(), PFactory< _Abstract_T, _Key_T >::UnregisterAll_Internal(), and PFactory< _Abstract_T, _Key_T >::~PFactory().
The documentation for this class was generated from the following file: