Alf::AlfFactoryPluginLoader Class Reference

class Alf::AlfFactoryPluginLoader

Factory plugin loader loads factory plugins. Loader will resolve factory plugin based on given string and load factory which can create requested product. Loader owns factory plugins. Factory products and their derivatives must be destroyed before destroying a loader object.

alfwidgetutils.lib
Since
S60 ?S60_version Draft

Constructor & Destructor Documentation

AlfFactoryPluginLoader()

OSN_IMPORT AlfFactoryPluginLoader ( )

Constructor.

Exceptions
std::bad_alloc

Thrown if out of memory during the construction.

AlfFactoryPluginLoader(const AlfFactoryPluginLoader &)

AlfFactoryPluginLoader ( const AlfFactoryPluginLoader & ) [private]

Copy Constructor

Parameters

const AlfFactoryPluginLoader &

~AlfFactoryPluginLoader()

OSN_IMPORT ~AlfFactoryPluginLoader ( ) [virtual]

Destructor.

Member Functions Documentation

loadFactoryPlugin(const char *)

OSN_IMPORT IAlfFactoryPlugin * loadFactoryPlugin ( const char * aFactoryProduct )

Load a factory plugin.

Since
S60 5.0

Parameters

const char * aFactoryProduct Factory plugin is loaded based on a given string

operator=(const AlfFactoryPluginLoader &)

AlfFactoryPluginLoader & operator= ( const AlfFactoryPluginLoader & ) [private]

Assignment Operator

Parameters

const AlfFactoryPluginLoader &

Member Data Documentation

auto_ptr< AlfFactoryPluginLoaderImpl > mImpl

auto_ptr < AlfFactoryPluginLoaderImpl > mImpl [private]