eVaf
|
Common plugin factory interface for eVaf modules. More...
#include <Plugins/ipluginfactory.h>
Public Member Functions | |
virtual QObject * | create (const QString &name)=0 |
Creates the requested iPlugin interface object. More... | |
iPluginFactory () | |
Empty constructor. More... | |
virtual | ~iPluginFactory () |
Empty virtual destructor. More... | |
Common plugin factory interface for eVaf modules.
The iPluginFactory interface is implemented by modules that export more than one iPlugin interface.
Modules that implement only one iPlugin interface, use the iPlugin interface object directly.
Definition at line 41 of file ipluginfactory.h.
|
inline |
Empty constructor.
Definition at line 48 of file ipluginfactory.h.
|
inlinevirtual |
Empty virtual destructor.
Definition at line 51 of file ipluginfactory.h.
|
pure virtual |
Creates the requested iPlugin interface object.
name | Name of the interface |
This function creates the requested iPlugin interface object. Modules can implement more than one iPlugin interface objects and use names to identify them.
If the requested interface object cannot be created, this function returns 0.
The module implementing the iPluginFactory interface is responsible for destroying all the created iPlugin interface objects.