Plugin< Iface > Class Template Referenceabstract

#include <Pt/System/Plugin.h>

Interface for plugins.

Inherits PluginId.

Inherited by BasicPlugin< Class, Iface >.

Public Member Functions

 Plugin ()
 Default Constructor.
 
virtual Iface * create ()=0
 Creates an instance.
 
virtual void destroy (Iface *instance)=0
 Destroys an instance.
 
virtual const char * feature () const =0
 Returns the plugin feature string.
 
const std::type_info & iface () const
 Returns the type of the plugin interface.
 
virtual const char * info () const =0
 Returns the plugin info string.