MyGUI
3.2.1
|
Resource holding data about a dynamic library. More...
#include <MyGUI_DynLib.h>
Public Member Functions | |
bool | load () |
void | unload () |
std::string | getName (void) const |
Get the name of the library. More... | |
void * | getSymbol (const std::string &strName) const throw () |
Protected Member Functions | |
DynLib (const std::string &name) | |
~DynLib () | |
std::string | dynlibError () const |
Gets the last loading error. More... | |
Protected Attributes | |
std::string | mName |
Name of library. More... | |
void * | mInstance |
Handle to the loaded library. More... | |
Friends | |
class | DynLibManager |
Resource holding data about a dynamic library.
Definition at line 46 of file MyGUI_DynLib.h.
|
protected |
Definition at line 18 of file MyGUI_DynLib.cpp.
|
protected |
Definition at line 24 of file MyGUI_DynLib.cpp.
|
protected |
Gets the last loading error.
Definition at line 67 of file MyGUI_DynLib.cpp.
std::string MyGUI::DynLib::getName | ( | void | ) | const |
Get the name of the library.
Definition at line 90 of file MyGUI_DynLib.cpp.
void * MyGUI::DynLib::getSymbol | ( | const std::string & | strName | ) | const throw () |
Returns the address of the given symbol from the loaded library.
strName | The name of the symbol to search for |
Definition at line 57 of file MyGUI_DynLib.cpp.
bool MyGUI::DynLib::load | ( | ) |
Load the library
Definition at line 28 of file MyGUI_DynLib.cpp.
void MyGUI::DynLib::unload | ( | ) |
Unload the library
Definition at line 43 of file MyGUI_DynLib.cpp.
|
friend |
Definition at line 48 of file MyGUI_DynLib.h.
|
protected |
Handle to the loaded library.
Definition at line 87 of file MyGUI_DynLib.h.
|
protected |
Name of library.
Definition at line 84 of file MyGUI_DynLib.h.