CEGUI::DynamicModule Class Reference

Class that wraps and gives access to a dynamically linked module (.dll, .so, etc...). More...

Collaboration diagram for CEGUI::DynamicModule:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DynamicModule (const String &name)
 Construct the DynamicModule object by loading the dynamic loadable module specified.
 ~DynamicModule ()
 Destroys the DynamicModule object and unloads the associated loadable module.
const StringgetModuleName () const
 Return a String containing the name of the dynamic module.
void * getSymbolAddress (const String &symbol) const
 Return the address of the specified symbol.


Detailed Description

Class that wraps and gives access to a dynamically linked module (.dll, .so, etc...).

Constructor & Destructor Documentation

CEGUI::DynamicModule::DynamicModule ( const String name  ) 

Construct the DynamicModule object by loading the dynamic loadable module specified.

Parameters:
name String object holding the name of a loadable module.
Returns:
Nothing

References CEGUI::String::c_str(), CEGUI::String::empty(), CEGUI::String::insert(), CEGUI::String::length(), and CEGUI::String::substr().

CEGUI::DynamicModule::~DynamicModule (  ) 

Destroys the DynamicModule object and unloads the associated loadable module.

Returns:
Nothing


Member Function Documentation

void * CEGUI::DynamicModule::getSymbolAddress ( const String symbol  )  const

Return the address of the specified symbol.

Parameters:
symbol String holding the symbol to look up in the module.
Returns:
Pointer to the requested symbol.
Exceptions:
InvalidRequestException thrown if the symbol does not exist.

References CEGUI::String::c_str().

Referenced by CEGUI::FactoryModule::FactoryModule(), and CEGUI::System::setXMLParser().


Generated on Thu Nov 27 20:34:27 2008 for Crazy Eddies GUI System by  doxygen 1.5.7.1