dmlite  0.4
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Friends
dmlite::CatalogFactory Class Reference

Plug-ins must implement a concrete factory to be instantiated. More...

#include <catalog.h>

Inheritance diagram for dmlite::CatalogFactory:
Inheritance graph
[legend]
Collaboration diagram for dmlite::CatalogFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~CatalogFactory ()
 Virtual destructor.
- Public Member Functions inherited from dmlite::BaseFactory
virtual ~BaseFactory ()
 Virtual destructor.
virtual void configure (const std::string &key, const std::string &value)=0 throw (DmException)

Protected Member Functions

virtual CatalogcreateCatalog (PluginManager *pm)=0 throw (DmException)
 Instantiate a implementation of Catalog.

Static Protected Member Functions

static CatalogcreateCatalog (CatalogFactory *factory, PluginManager *pm) throw (DmException)
 Children of CatalogFactory are allowed to instantiate too (decorator)

Friends

class StackInstance

Detailed Description

Plug-ins must implement a concrete factory to be instantiated.


Constructor & Destructor Documentation

CatalogFactory::~CatalogFactory ( )
virtual

Virtual destructor.


Member Function Documentation

Catalog * CatalogFactory::createCatalog ( CatalogFactory factory,
PluginManager pm 
) throw (DmException)
staticprotected

Children of CatalogFactory are allowed to instantiate too (decorator)

virtual Catalog* dmlite::CatalogFactory::createCatalog ( PluginManager pm) throw (DmException)
protectedpure virtual

Instantiate a implementation of Catalog.

Implemented in dmlite::BuiltInCatalogFactory.


Friends And Related Function Documentation

friend class StackInstance
friend

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