#include <OgreDynLib.h>
Inheritance diagram for Ogre::DynLib:

Public Methods | |
| DynLib (const String &name) | |
| Default constructor - used by DynLibManager. More... | |
| ~DynLib () | |
| Default destructor. More... | |
| virtual void | load () |
| Generic load - called by DynLibManager. More... | |
| virtual void | unload () |
| Generic unload - called by DynLibManager. More... | |
| virtual void * | getSymbol (const String &strName) const throw () |
| Returns the adress of the given symbol from the loaded library. More... | |
| virtual size_t | getSize (void) |
| Retrieves info about the size of the resource. More... | |
| void | touch (void) |
| 'Touches' the resource to indicate it has been used. More... | |
| time_t | getLastAccess (void) const |
| Gets the last time the resource was 'touched'. More... | |
| const String & | getName (void) const |
| Gets resource name. More... | |
| bool | isLoaded (void) const |
| Returns true if the Resource has been loaded, false otherwise. More... | |
| virtual void | destroy () |
| A method to make the resource delete itself. More... | |
Protected Attributes | |
| DYNLIB_HANDLE | m_hInst |
| Handle to the loaded library. More... | |
| String | mName |
| bool | mIsLoaded |
| time_t | mLastAccess |
| size_t | mSize |
|
|
Default constructor - used by DynLibManager.
|
|
|
Default destructor.
|
|
|
A method to make the resource delete itself.
|
|
|
Gets the last time the resource was 'touched'.
|
|
|
Gets resource name.
Reimplemented in Ogre::Material. |
|
|
Retrieves info about the size of the resource.
|
|
|
Returns the adress of the given symbol from the loaded library.
|
|
|
Returns true if the Resource has been loaded, false otherwise.
|
|
|
Generic load - called by DynLibManager.
Implements Ogre::Resource. |
|
|
'Touches' the resource to indicate it has been used.
|
|
|
Generic unload - called by DynLibManager.
Reimplemented from Ogre::Resource. |
|
|
Handle to the loaded library.
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team