Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends

PFactory< _Abstract_T, _Key_T >::Worker< _Concrete_T > Class Template Reference

Inheritance diagram for PFactory< _Abstract_T, _Key_T >::Worker< _Concrete_T >:
Inheritance graph
Collaboration diagram for PFactory< _Abstract_T, _Key_T >::Worker< _Concrete_T >:
Collaboration graph

List of all members.

Public Member Functions

 Worker (const Key_T &key, bool singleton=false)

Protected Member Functions

virtual Abstract_T * Create (const Key_T &) const

Private Member Functions

Abstract_T * CreateInstance (const Key_T &key)

Private Attributes

bool deleteSingleton
bool isDynamic
bool isSingleton
Abstract_T * singletonInstance


class PFactory< _Abstract_T, _Key_T >

Detailed Description

template<class _Abstract_T, typename _Key_T = PString>
template<class _Concrete_T>
class PFactory< _Abstract_T, _Key_T >::Worker< _Concrete_T >

Definition at line 257 of file pfactory.h.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index