HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DT_PluginFactory Class Referenceabstract

#include <DT_Plugin.h>

Public Member Functions

virtual ~DT_PluginFactory ()
 
virtual const UT_StringHoldername () const =0
 
virtual DT_PluginHandle create (DT_Host &host)=0
 Create a new instance of a data tree plugin from this factory. More...
 

Static Protected Member Functions

static bool registerFactory (DT_PluginFactory &factory)
 

Detailed Description

A data tree plugin factory base class. Used to create Data Tree plugins on demand and to query names of plugins without creating them. For writing a new Data Tree plugin, see newDataTreePluginFactory for and example of how to sub-class this class to create a factory for your plugin.

Definition at line 1200 of file DT_Plugin.h.

Constructor & Destructor Documentation

virtual DT_PluginFactory::~DT_PluginFactory ( )
inlinevirtual

Definition at line 1203 of file DT_Plugin.h.

Member Function Documentation

virtual DT_PluginHandle DT_PluginFactory::create ( DT_Host host)
pure virtual

Create a new instance of a data tree plugin from this factory.

virtual const UT_StringHolder& DT_PluginFactory::name ( ) const
pure virtual
static bool DT_PluginFactory::registerFactory ( DT_PluginFactory factory)
staticprotected

The documentation for this class was generated from the following file: