PFactory< _Abstract_T, _Key_T >::WorkerBase Class Reference

#include <pfactory.h>

Inheritance diagram for PFactory< _Abstract_T, _Key_T >::WorkerBase:

PDevicePluginFactory< _Abstract_T, _Key_T >::Worker PFactory< _Abstract_T, _Key_T >::Worker< _Concrete_T > List of all members.

Protected Member Functions

 WorkerBase (bool singleton=false)
 WorkerBase (Abstract_T *instance, bool _deleteSingleton=true)
virtual ~WorkerBase ()
Abstract_TCreateInstance (const Key_T &key)
virtual Abstract_TCreate (const Key_T &) const

Protected Attributes

bool isDynamic
bool isSingleton
Abstract_TsingletonInstance
bool deleteSingleton

Friends

class PFactory< _Abstract_T, _Key_T >

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
class PFactory< _Abstract_T, _Key_T >::WorkerBase


Constructor & Destructor Documentation

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
PFactory< _Abstract_T, _Key_T >::WorkerBase::WorkerBase ( bool  singleton = false  )  [inline, protected]

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
PFactory< _Abstract_T, _Key_T >::WorkerBase::WorkerBase ( Abstract_T instance,
bool  _deleteSingleton = true 
) [inline, protected]

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
virtual PFactory< _Abstract_T, _Key_T >::WorkerBase::~WorkerBase (  )  [inline, protected, virtual]


Member Function Documentation

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
Abstract_T* PFactory< _Abstract_T, _Key_T >::WorkerBase::CreateInstance ( const Key_T key  )  [inline, protected]

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
virtual Abstract_T* PFactory< _Abstract_T, _Key_T >::WorkerBase::Create ( const Key_T  )  const [inline, protected, virtual]

Reimplemented in PFactory< _Abstract_T, _Key_T >::Worker< _Concrete_T >, and PDevicePluginFactory< _Abstract_T, _Key_T >::Worker.


Friends And Related Function Documentation

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
friend class PFactory< _Abstract_T, _Key_T > [friend]


Member Data Documentation

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
bool PFactory< _Abstract_T, _Key_T >::WorkerBase::isDynamic [protected]

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
bool PFactory< _Abstract_T, _Key_T >::WorkerBase::isSingleton [protected]

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
Abstract_T* PFactory< _Abstract_T, _Key_T >::WorkerBase::singletonInstance [protected]

template<class _Abstract_T, typename _Key_T = PDefaultPFactoryKey>
bool PFactory< _Abstract_T, _Key_T >::WorkerBase::deleteSingleton [protected]


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 01:21:36 2008 for PTLib by  doxygen 1.5.1