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

libfactory Namespace Reference

Class factory that dynamically loads the necessary libraries (previously registered) to instantiate objects extending the LcgInfo::Querier type. More...


Compounds

class  libfactory::LibFactory
 Class factory for Querier objects. More...


Detailed Description

Class factory that dynamically loads the necessary libraries (previously registered) to instantiate objects extending the LcgInfo::Querier type.

All libraries registered with the Factory class must have constructors with no arguments. Also, they must expose symbols for onstruction and destruction, declaring them external as in the following example:

extern "C" LcgInfo::Querier* <the Constructor>() { return new <invoking the real Constructor of your class>; }

extern "C" void <the Destructor(LcgInfo::Querier *p) { delete p; }

See also:
LcgInfo::Querier @autor LCG's EIS group. CERN.
Version:
1.0
Date:
2004.


Generated on Tue Oct 5 14:42:45 2004 for LCG Information System Interface by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002