System documentation of the GNU Image-Finding Tool

Public Member Functions | Protected Attributes | List of all members
CAccessorFactory Class Referenceabstract

This is a common abstract base class for all specialised CAccessorFactories. More...

#include <CAccessorFactory.h>

Inheritance diagram for CAccessorFactory:
CAFHierarchy CAFInvertedFile CAFPlugin CAFSpecialised< TAccessorSubType, TName > CAFURL2FTS

Public Member Functions

virtual void registerFactory (CAccessorFactoryContainer &outContainer)
 (*this) has to register with a container. More...
 
virtual CAccessormakeAccessor (const class CXMLElement &inConfiguration) const =0
 As the name sais: this makes an accessor. More...
 
virtual void closeAccessor ()
 This function does plain nothing in this class, however, it becomes interesting for plugins that have to free shared libraries presently this is unused. More...
 

Protected Attributes

string mName
 This variable contains the name used for registration.
 

Detailed Description

This is a common abstract base class for all specialised CAccessorFactories.

See also
CAFSpecialised Wolfgang Müller

Member Function Documentation

§ closeAccessor()

virtual void CAccessorFactory::closeAccessor ( )
virtual

This function does plain nothing in this class, however, it becomes interesting for plugins that have to free shared libraries presently this is unused.

All plugins will be loaded at load time, there will be no unloading of plugins during runtime.

§ makeAccessor()

virtual CAccessor* CAccessorFactory::makeAccessor ( const class CXMLElement inConfiguration) const
pure virtual

As the name sais: this makes an accessor.

The parameter contains all attributes needes for a successful construction.

§ registerFactory()

virtual void CAccessorFactory::registerFactory ( CAccessorFactoryContainer outContainer)
virtual

(*this) has to register with a container.

The container gets destruction responsability

Reimplemented in CAFPlugin.


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

Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen