BASE::RCExtensionHandler Class Reference

Handler of dynamically loaded extension dlls. More...

Collaboration diagram for BASE::RCExtensionHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void SetExtensionPostfix (const RCString &sExtensionPostfix, TBool bAddBuiltPostfix=true)
TBool LoadExtensions (const RCString &sDir)
TBool LoadExtensions (const RCStringList &NameList)
TBool LoadExtension (const RCString &sName, TBool bAddExtensionPostfix=true)
const RCStringGetRegisteringExtension () const
void SetRegisteringExtension (const RCString &sExtension=_T(""))
void RegisterComponentType (RCComponentTypeHandler &TypeHandler)

Static Public Member Functions

static RCExtensionHandlerInstance ()

Static Public Attributes

static const RCString LOG_NAME = _T("Extension Handling")

Protected Types

typedef set< HMODULE > TModuleList
typedef map< RCString, RCComponentTypeHandler * > TTypeList

Protected Attributes

TModuleList m_ModuleList
TTypeList m_TypeList
RCString m_sRegisteringExtension
RCString m_sExtensionPostfix

Static Protected Attributes

static const RCString BUILT_POSTFIX
static const TAnsiCharREGISTER_PROC_NAME
static const RCString UNKNOWN_EXTENSION

Detailed Description

Handler of dynamically loaded extension dlls.

Author:
Patrik Stellmann
This handler has the ability to load dynamically extension dlls that register additional components to the project. The loaded extensions are freed not before the program quits.


Member Data Documentation

const RCString RCExtensionHandler::BUILT_POSTFIX [static, protected]
 

Initial value:

 










        _T("ru")

const TAnsiChar * RCExtensionHandler::REGISTER_PROC_NAME [static, protected]
 

Initial value:

    "RegisterTypes"

const RCString RCExtensionHandler::UNKNOWN_EXTENSION [static, protected]
 

Initial value:

    _T("<unknown>")


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:46:50 2006 for Simulator Bob by  doxygen 1.4.6-NO