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

at::FactoryRegisterBase Class Reference
[Generic Factories]

#include <at_factory.h>

Inheritance diagram for at::FactoryRegisterBase:

Inheritance graph
List of all members.

Public Methods

virtual const DKyKey ()=0
virtual int Version ()=0

Detailed Description

FactoryRegisterBase is the base class to all FactoryRegister's. A pointer to one of these is placed in the FactoryRegisterRegistry.

In general, a FactoryRegister must be a singleton. Unfortunately this will not happen in all circumstances, especially with dynamically linked libraries. The solution to this is to provide a single registry of registries.

This is a reference counted class because DLL's may be loaded and unloaded.

Member Function Documentation

virtual const DKy* at::FactoryRegisterBase::Key   [pure virtual]

Key returns a string representing the key of this registry.

a pointer to DKy

virtual int at::FactoryRegisterBase::Version   [pure virtual]

Version will return an integer that indicates the version of a factory registry. This is to eliminate issues regarding version problems.

An integer version number.

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