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

at::FactoryRegisterRegistry_Impl Class Reference

Inheritance diagram for at::FactoryRegisterRegistry_Impl:

Inheritance graph
Collaboration diagram for at::FactoryRegisterRegistry_Impl:

Collaboration graph
List of all members.

Public Types

typedef std::map< const DKy,
Ptr< FactoryRegisterBase * >,
typedef t_FRRMapType::iterator t_FRRMapIterator
typedef t_FRRMapType::value_type t_FRRMapValue

Public Methods

virtual PtrDelegate< FactoryRegisterBase * > FindOrCreate (const DKy &i_key, t_creator i_create_meth)
virtual void Shutdown ()

Public Attributes

t_FRRMapType m_registy_registry

Detailed Description

This is the root implementation of the FactoryRegisterRegistry.

Member Typedef Documentation

typedef t_FRRMapType::iterator at::FactoryRegisterRegistry_Impl::t_FRRMapIterator

typedef std::map< const DKy, Ptr<FactoryRegisterBase *>, t_RREntryCompare > at::FactoryRegisterRegistry_Impl::t_FRRMapType

typedef t_FRRMapType::value_type at::FactoryRegisterRegistry_Impl::t_FRRMapValue

Member Function Documentation

virtual PtrDelegate<FactoryRegisterBase *> at::FactoryRegisterRegistry_Impl::FindOrCreate const DKy   i_key,
t_creator    i_create_meth
[inline, virtual]

Find will search the registry for the key required.

i_key  is the key of the factory being requested.
i_create_meth  is a static method that returns a factory of the given type.
A pointer to the factory register.

Implements at::FactoryRegisterRegistry.

virtual void at::FactoryRegisterRegistry_Impl::Shutdown   [inline, virtual]

Shutdown will clear the factory registry. This can be used to guarentee references to factories are removed on shutdown.

Implements at::FactoryRegisterRegistry.

Member Data Documentation

t_FRRMapType at::FactoryRegisterRegistry_Impl::m_registy_registry

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