PTLib Version 2.10.2
PFactory< AbstractClass, KeyType >::WorkerBase Class Reference

#include <pfactory.h>

Inheritance diagram for PFactory< AbstractClass, KeyType >::WorkerBase:
PDevicePluginFactory< AbstractClass, KeyType >::Worker PFactory< AbstractClass, KeyType >::Worker< ConcreteClass >

List of all members.

Protected Member Functions

 WorkerBase (bool singleton=false)
 WorkerBase (Abstract_T *instance, bool delSingleton=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

template<class AbstractClass, typename KeyType = PDefaultPFactoryKey>
class PFactory< AbstractClass, KeyType >::WorkerBase


Constructor & Destructor Documentation

template<class AbstractClass , typename KeyType = PDefaultPFactoryKey>
PFactory< AbstractClass, KeyType >::WorkerBase::WorkerBase ( bool  singleton = false) [inline, protected]
template<class AbstractClass , typename KeyType = PDefaultPFactoryKey>
PFactory< AbstractClass, KeyType >::WorkerBase::WorkerBase ( Abstract_T instance,
bool  delSingleton = true 
) [inline, protected]
template<class AbstractClass , typename KeyType = PDefaultPFactoryKey>
virtual PFactory< AbstractClass, KeyType >::WorkerBase::~WorkerBase ( ) [inline, protected, virtual]

Member Function Documentation

template<class AbstractClass , typename KeyType = PDefaultPFactoryKey>
virtual Abstract_T* PFactory< AbstractClass, KeyType >::WorkerBase::Create ( const Key_T ) const [inline, protected, virtual]
template<class AbstractClass , typename KeyType = PDefaultPFactoryKey>
Abstract_T* PFactory< AbstractClass, KeyType >::WorkerBase::CreateInstance ( const Key_T key) [inline, protected]

Member Data Documentation

template<class AbstractClass , typename KeyType = PDefaultPFactoryKey>
bool PFactory< AbstractClass, KeyType >::WorkerBase::deleteSingleton [protected]
template<class AbstractClass , typename KeyType = PDefaultPFactoryKey>
bool PFactory< AbstractClass, KeyType >::WorkerBase::isDynamic [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines