System documentation of the GNU Image-Finding Tool

Public Member Functions | Protected Attributes | List of all members
CAFPlugin Class Reference
Inheritance diagram for CAFPlugin:
CAccessorFactory

Public Member Functions

CAccessormakeAccessor (const CXMLElement &) const
 Add some register function here. More...
 
char * getName ()
 gets the name of the plugin
 
 CAFPlugin (string, string, string)
 opens the library and sets the make query etc. More...
 
 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
 
- Public Member Functions inherited from CAccessorFactory
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

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?
 
- Protected Attributes inherited from CAccessorFactory
string mName
 This variable contains the name used for registration.
 

Constructor & Destructor Documentation

CAFPlugin::CAFPlugin ( string  ,
string  ,
string   
)

opens the library and sets the make query etc.

functions

Member Function Documentation

CAccessor* CAFPlugin::makeAccessor ( const CXMLElement ) const

Add some register function here.

the rest can stay the samemakes a CAccessor object


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