OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::Resource::Listener Class Reference

#include <OgreResource.h>

+ Inheritance diagram for Ogre::Resource::Listener:

Public Member Functions

 Listener ()
 
virtual ~Listener ()
 
virtual OGRE_DEPRECATED void backgroundLoadingComplete (Resource *)
 Callback to indicate that background loading has completed. More...
 
virtual OGRE_DEPRECATED void backgroundPreparingComplete (Resource *)
 Callback to indicate that background preparing has completed. More...
 
virtual void loadingComplete (Resource *)
 Called whenever the resource finishes loading. More...
 
virtual void preparingComplete (Resource *)
 Called whenever the resource finishes preparing (paging into memory). More...
 
virtual void unloadingComplete (Resource *)
 Called whenever the resource has been unloaded. More...
 

Detailed Description

Definition at line 83 of file OgreResource.h.

Constructor & Destructor Documentation

Ogre::Resource::Listener::Listener ( )
inline

Definition at line 86 of file OgreResource.h.

virtual Ogre::Resource::Listener::~Listener ( )
inlinevirtual

Definition at line 87 of file OgreResource.h.

Member Function Documentation

virtual OGRE_DEPRECATED void Ogre::Resource::Listener::backgroundLoadingComplete ( Resource )
inlinevirtual

Callback to indicate that background loading has completed.

Deprecated:
Use loadingComplete instead.

Reimplemented in Ogre::Entity.

Definition at line 93 of file OgreResource.h.

virtual OGRE_DEPRECATED void Ogre::Resource::Listener::backgroundPreparingComplete ( Resource )
inlinevirtual

Callback to indicate that background preparing has completed.

Deprecated:
Use preparingComplete instead.

Definition at line 99 of file OgreResource.h.

virtual void Ogre::Resource::Listener::loadingComplete ( Resource )
inlinevirtual

Called whenever the resource finishes loading.

Remarks
If a Resource has been marked as background loaded (
See also
Resource::setBackgroundLoaded), the call does not itself occur in the thread which is doing the loading; when loading is complete a response indicator is placed with the ResourceGroupManager, which will then be sent back to the listener as part of the application's primary frame loop thread.

Reimplemented in Ogre::GpuProgramUsage.

Definition at line 109 of file OgreResource.h.

virtual void Ogre::Resource::Listener::preparingComplete ( Resource )
inlinevirtual

Called whenever the resource finishes preparing (paging into memory).

Remarks
If a Resource has been marked as background loaded (
See also
Resource::setBackgroundLoaded) the call does not itself occur in the thread which is doing the preparing; when preparing is complete a response indicator is placed with the ResourceGroupManager, which will then be sent back to the listener as part of the application's primary frame loop thread.

Definition at line 120 of file OgreResource.h.

virtual void Ogre::Resource::Listener::unloadingComplete ( Resource )
inlinevirtual

Called whenever the resource has been unloaded.

Reimplemented in Ogre::GpuProgramUsage.

Definition at line 123 of file OgreResource.h.


The documentation for this class was generated from the following file: