#include <OgreDynLib.h>
Public Member Functions | |
DynLib (const String &name) | |
Default constructor - used by DynLibManager. | |
~DynLib () | |
Default destructor. | |
void | load () |
Load the library. | |
void | unload () |
Unload the library. | |
const String & | getName (void) const |
Get the name of the library. | |
void * | getSymbol (const String &strName) const throw () |
Returns the address of the given symbol from the loaded library. | |
Protected Member Functions | |
String | dynlibError (void) |
Gets the last loading error. | |
Protected Attributes | |
String | mName |
DYNLIB_HANDLE | m_hInst |
Handle to the loaded library. |
Definition at line 69 of file OgreDynLib.h.
Ogre::DynLib::DynLib | ( | const String & | name | ) |
Ogre::DynLib::~DynLib | ( | ) |
Default destructor.
String Ogre::DynLib::dynlibError | ( | void | ) | [protected] |
Gets the last loading error.
void Ogre::DynLib::load | ( | ) |
Load the library.
void Ogre::DynLib::unload | ( | ) |
Unload the library.
const String& Ogre::DynLib::getName | ( | void | ) | const |
void* Ogre::DynLib::getSymbol | ( | const String & | strName | ) | const throw () |
Returns the address of the given symbol from the loaded library.
strName | The name of the symbol to search for |
String Ogre::DynLib::mName [protected] |
Definition at line 72 of file OgreDynLib.h.
DYNLIB_HANDLE Ogre::DynLib::m_hInst [protected] |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:49:32 2008