#include <CAccessorFactory.h>

Public Member Functions | |
| virtual void | registerFactory (CAccessorFactoryContainer &outContainer) |
| virtual CAccessor * | makeAccessor (const class CXMLElement &inConfiguration) const =0 |
| virtual void | closeAccessor () |
Protected Attributes | |
| string | mName |
Definition at line 42 of file CAccessorFactory.h.
| void CAccessorFactory::registerFactory | ( | CAccessorFactoryContainer & | outContainer | ) | [virtual] |
(*this) has to register with a container. The container gets destruction responsability
Reimplemented in CAFPlugin.
Definition at line 4 of file CAccessorFactory.cc.
References mName, and CAccessorFactoryContainer::registerFactory().
00004 { 00005 outContainer.registerFactory(this, 00006 mName); 00007 };
| 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.
| 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.
Definition at line 8 of file CAccessorFactory.cc.
string CAccessorFactory::mName [protected] |
This variable contains the name used for registration
Reimplemented in CAFPlugin.
Definition at line 45 of file CAccessorFactory.h.
Referenced by CAFDistanceMatrix::CAFDistanceMatrix(), CAFHierarchy::CAFHierarchy(), CAFInvertedFile::CAFInvertedFile(), CAFURL2FTS::CAFURL2FTS(), and registerFactory().
1.5.6