Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::FactoryRegister< w_InterfaceType, w_KeyType, w_CreatorType >::t_RegistrySingleton Class Reference

#include <at_factory.h>

Collaboration diagram for at::FactoryRegister< w_InterfaceType, w_KeyType, w_CreatorType >::t_RegistrySingleton:

Collaboration graph
[legend]
List of all members.

Public Methods

FactoryRegisterGet ()

Public Attributes

Ptr< FactoryRegister * > m_register

Detailed Description

template<typename w_InterfaceType, typename w_KeyType = DKy, typename w_CreatorType = Creator0P< w_InterfaceType, w_KeyType >>
class at::FactoryRegister< w_InterfaceType, w_KeyType, w_CreatorType >::t_RegistrySingleton

This manages the factory registry object. In particular it deletes the registry upon system exit. Even though this is not critical, it does reduce the noise when checking for memory leaks.


Member Function Documentation

template<typename w_InterfaceType, typename w_KeyType = DKy, typename w_CreatorType = Creator0P< w_InterfaceType, w_KeyType >>
FactoryRegister& at::FactoryRegister< w_InterfaceType, w_KeyType, w_CreatorType >::t_RegistrySingleton::Get   [inline]
 

This does a construct-on-reference

Returns:
a reference to the registry.


Member Data Documentation

template<typename w_InterfaceType, typename w_KeyType = DKy, typename w_CreatorType = Creator0P< w_InterfaceType, w_KeyType >>
Ptr<FactoryRegister * > at::FactoryRegister< w_InterfaceType, w_KeyType, w_CreatorType >::t_RegistrySingleton::m_register
 


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

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004