26 #ifndef _CACCESSORPLUGIN 27 #define _CACCESSORPLUGIN 28 #include "libMRML/include/uses-declarations.h" 29 #include <sys/types.h> 37 #include "libMRML/include/CAccessor.h" 38 #include "libMRML/include/CXMLElement.h" 39 #include "libMRML/include/CAccessorFactory.h" 50 char* (*mGetName)(void);
This is a common abstract base class for all specialised CAccessorFactories.
Definition: CAccessorFactory.h:42
Definition: CAFPlugin.h:41
This class captures the structure of an XML element.
Definition: CXMLElement.h:51
void * mDlOpenHandle
the handle which enables us to open
Definition: CAFPlugin.h:44
CAccessor * makeAccessor(const CXMLElement &) const
Add some register function here.
CAFPlugin(string, string, string)
opens the library and sets the make query etc.
bool mIsSane
is this well constructed?
Definition: CAFPlugin.h:52
~CAFPlugin()
close the DlOpenHandle of the library
string mName
the name of the plugin
Definition: CAFPlugin.h:46
bool isSane() const
is this well constructed
void registerFactory(CAccessorFactoryContainer &outContainer)
register the factory
CAccessor - an abstract base class for everything accessing a GIFT database.
Definition: CAccessor.h:55
This is destined to hold a number of CAccessorFactories.
Definition: CAccessorFactoryContainer.h:44
char * getName()
gets the name of the plugin