Crazy Eddie's GUI System  0.8.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::DynamicModule Class Reference

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

+ Inheritance diagram for CEGUI::DynamicModule:
+ Collaboration diagram for CEGUI::DynamicModule:

Public Member Functions

 DynamicModule (const String &name)
 Construct the DynamicModule object by loading the dynamic loadable module specified. More...
 
 ~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. More...
 

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
nameString object holding the name of a loadable module.

Member Function Documentation

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

Return the address of the specified symbol.

Parameters
symbolString holding the symbol to look up in the module.
Returns
Pointer to the requested symbol.
Exceptions
InvalidRequestExceptionthrown if the symbol does not exist.