Crazy Eddies GUI System  0.7.2
Public Member Functions | List of all members
CEGUI::DynamicModule Class Reference

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

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. More...
 
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.
Returns
Nothing
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
symbolString holding the symbol to look up in the module.
Returns
Pointer to the requested symbol.
Exceptions
InvalidRequestExceptionthrown if the symbol does not exist.