Resource holding data about a dynamic library.
More...
#include <OgreDynLib.h>
|
| DynLib (const String &name) |
| Default constructor - used by DynLibManager. More...
|
|
| ~DynLib () |
| Default destructor. More...
|
|
const String & | getName () const |
| Get the name of the library. More...
|
|
void * | getSymbol (const String &strName) const throw () |
| Returns the address of the given symbol from the loaded library. More...
|
|
bool | isLoaded () const |
| Returns true if it's successfully loaded. More...
|
|
void | load (const bool bOptional) |
| Load the library. More...
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
void | unload () |
| Unload the library. More...
|
|
Resource holding data about a dynamic library.
- Author
- Adrian Cearn„u (cearn.nosp@m.y@ce.nosp@m.arny..nosp@m.ro)
- Since
- 27 January 2002
◆ DynLib()
Ogre::DynLib::DynLib |
( |
const String & |
name | ) |
|
Default constructor - used by DynLibManager.
- Warning
- Do not call directly
◆ ~DynLib()
Ogre::DynLib::~DynLib |
( |
| ) |
|
◆ getName()
const String& Ogre::DynLib::getName |
( |
| ) |
const |
|
inline |
Get the name of the library.
◆ getSymbol()
void* Ogre::DynLib::getSymbol |
( |
const String & |
strName | ) |
const |
throw | ( | |
| ) | | |
Returns the address of the given symbol from the loaded library.
- Parameters
-
strName | The name of the symbol to search for |
- Returns
- If the function succeeds, the returned value is a handle to the symbol.
- If the function fails, the returned value is NULL.
◆ isLoaded()
bool Ogre::DynLib::isLoaded |
( |
| ) |
const |
Returns true if it's successfully loaded.
◆ load()
void Ogre::DynLib::load |
( |
const bool |
bOptional | ) |
|
Load the library.
- Parameters
-
bOptional | When true, we will skip it if it fails to initialize |
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
◆ unload()
void Ogre::DynLib::unload |
( |
| ) |
|
The documentation for this class was generated from the following file: