#include <OgreDynLib.h>
Inheritance diagram for Ogre::DynLib:
Public Methods | |
DynLib (const String &name) | |
Default constructor - used by DynLibManager. | |
~DynLib () | |
Default destructor. | |
virtual void | load () |
Generic load - called by DynLibManager. | |
virtual void | unload () |
Generic unload - called by DynLibManager. | |
virtual void * | getSymbol (const String &strName) const throw () |
Returns the adress of the given symbol from the loaded library. | |
virtual size_t | getSize (void) const |
Retrieves info about the size of the resource. | |
virtual void | touch (void) |
'Touches' the resource to indicate it has been used. | |
time_t | getLastAccess (void) const |
Gets the last time the resource was 'touched'. | |
const String & | getName (void) const |
Gets resource name. | |
ResourceHandle | getHandle (void) const |
bool | isLoaded (void) const |
Returns true if the Resource has been loaded, false otherwise. | |
virtual void | destroy () |
A method to make the resource delete itself. | |
Protected Attributes | |
DYNLIB_HANDLE | m_hInst |
Handle to the loaded library. | |
String | mName |
ResourceHandle | mHandle |
bool | mIsLoaded |
time_t | mLastAccess |
size_t | mSize |
Definition at line 70 of file OgreDynLib.h.
|
Default constructor - used by DynLibManager.
Definition at line 45 of file OgreDynLib.cpp. References m_hInst, Ogre::Resource::mIsLoaded, Ogre::Resource::mName, OgreGuard, and OgreUnguard. |
|
Default destructor.
Definition at line 62 of file OgreDynLib.cpp. References unload(). |
|
A method to make the resource delete itself.
Definition at line 137 of file OgreResource.h. |
|
Definition at line 120 of file OgreResource.h. References Ogre::ResourceHandle. Referenced by Ogre::Material::clone(), Ogre::BspLevel::loadQuake3Level(), and Ogre::ResourceManager::unload(). |
|
Gets the last time the resource was 'touched'.
Definition at line 108 of file OgreResource.h. |
|
|
Retrieves info about the size of the resource.
Definition at line 93 of file OgreResource.h. Referenced by Ogre::ResourceManager::unload(). |
|
Returns the adress of the given symbol from the loaded library.
Definition at line 113 of file OgreDynLib.cpp. References DYNLIB_GETSYM. Referenced by Ogre::Root::loadPlugin(), and Ogre::PlatformManager::PlatformManager(). |
|
Returns true if the Resource has been loaded, false otherwise.
Definition at line 127 of file OgreResource.h. Referenced by Ogre::GpuProgramUsage::_load(), Ogre::Technique::isLoaded(), Ogre::D3D9Texture::load(), Ogre::D3D9Texture::unload(), and Ogre::D3D9Texture::~D3D9Texture(). |
|
Generic load - called by DynLibManager.
Implements Ogre::Resource. Definition at line 69 of file OgreDynLib.cpp. References DYNLIB_ERROR, DYNLIB_LOAD, Except, m_hInst, Ogre::Resource::mIsLoaded, Ogre::Resource::mName, OgreGuard, and OgreUnguard. |
|
'Touches' the resource to indicate it has been used.
Reimplemented in Ogre::Material. Definition at line 100 of file OgreResource.h. Referenced by Ogre::ResourceManager::load(). |
|
Generic unload - called by DynLibManager.
Reimplemented from Ogre::Resource. Definition at line 91 of file OgreDynLib.cpp. References DYNLIB_ERROR, DYNLIB_UNLOAD, Except, m_hInst, Ogre::Resource::mIsLoaded, Ogre::Resource::mName, OgreGuard, and OgreUnguard. Referenced by ~DynLib(). |
|
Handle to the loaded library.
Definition at line 110 of file OgreDynLib.h. |
|
Definition at line 57 of file OgreResource.h. Referenced by Ogre::ResourceManager::add(), Ogre::Material::clone(), Ogre::Material::copyDetailsTo(), and Ogre::Material::operator=(). |
|
|
Definition at line 59 of file OgreResource.h. Referenced by Ogre::Material::operator=(). |
|
|
Definition at line 60 of file OgreResource.h. Referenced by Ogre::D3D9Texture::_setFinalAttributes(), Ogre::D3DTexture::loadImage(), Ogre::D3DTexture::loadImage3D(), Ogre::GLTexture::loadImages(), and Ogre::Material::operator=(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:17:11 2004