Public Member Functions | Friends

XAP_ModuleFactory Class Reference

#include <xap_ModuleFactory.h>

List of all members.

Public Member Functions

virtual const char * getName (void)
virtual XAP_ModuleloadModule (const char *szFilename)
virtual bool unloadModule (XAP_Module *module)

Friends

class XAP_Module

Member Function Documentation

virtual const char* XAP_ModuleFactory::getName ( void   )  [virtual]

Returns the name of the factory for logging and debugging purposes.

virtual XAP_Module* XAP_ModuleFactory::loadModule ( const char *  szFilename  )  [virtual]

Load a module.

Parameters:
szFilename Plugin file to load.
Returns:
Ptr to module instance if success, otherwise NULL;
virtual bool XAP_ModuleFactory::unloadModule ( XAP_Module module  )  [inline, virtual]

Unload a module. Plugin factories can implement this method if they want to handle unloading of plugins themselves.

Parameters:
module Ptr to module instance.
Returns:
TRUE on success, FALSE on failure.

Friends And Related Function Documentation

friend class XAP_Module [friend]

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