Crazy Eddies GUI System: CEGUI::DynamicModule Class Reference

Crazy Eddies GUI System 0.7.6

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
CEGUI::DynamicModule Class Reference

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

Collaboration diagram for CEGUI::DynamicModule:
[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 String & | getModuleName () 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

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.