Public Member Functions | |
CAccessor * | makeAccessor (const CXMLElement &) const |
Add some register function here. | |
char * | getName () |
gets the name of the plugin | |
CAFPlugin (string, string, string) | |
opens the library and sets the make query etc. | |
CAFPlugin (CAFPlugin &) | |
copy all the content | |
~CAFPlugin () | |
close the DlOpenHandle of the library | |
bool | isSane () const |
is this well constructed | |
void | registerFactory (CAccessorFactoryContainer &outContainer) |
register the factory | |
![]() | |
virtual CAccessor * | makeAccessor (const class CXMLElement &inConfiguration) const =0 |
As the name sais: this makes an accessor. | |
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. |
Protected Attributes | |
void * | mDlOpenHandle |
the handle which enables us to open | |
string | mName |
the name of the plugin | |
CAccessor *(* | mMakeAccessor )(const CXMLElement &) |
the function for making a CAccessor object | |
char *(* | mGetName )(void) |
this function gives us the name of the plugin | |
bool | mIsSane |
is this well constructed? | |
![]() | |
string | mName |
This variable contains the name used for registration. |
CAFPlugin::CAFPlugin | ( | string | , |
string | , | ||
string | |||
) |
opens the library and sets the make query etc.
functions
CAccessor* CAFPlugin::makeAccessor | ( | const CXMLElement & | ) | const |
Add some register function here.
the rest can stay the samemakes a CAccessor object