#include <OgreResourceBackgroundQueue.h>
Inheritance diagram for Ogre::ResourceBackgroundQueue:

Public Member Functions | |
| ResourceBackgroundQueue () | |
| Private mutex, not allowed to lock from outside. | |
| virtual | ~ResourceBackgroundQueue () |
| virtual void | initialise (void) |
| Initialise the background queue system. | |
| virtual void | shutdown (void) |
| Shut down the background queue system. | |
| virtual BackgroundProcessTicket | initialiseResourceGroup (const String &name, ResourceBackgroundQueueListener *listener=0) |
| Initialise a resource group in the background. | |
| virtual BackgroundProcessTicket | initialiseAllResourceGroups (ResourceBackgroundQueueListener *listener=0) |
| Initialise all resource groups which are yet to be initialised in the background. | |
| virtual BackgroundProcessTicket | loadResourceGroup (const String &name, ResourceBackgroundQueueListener *listener=0) |
| Loads a resource group in the background. | |
| virtual BackgroundProcessTicket | load (const String &resType, const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, ResourceBackgroundQueueListener *listener=0) |
| Load a single resource in the background. | |
| virtual bool | isProcessComplete (BackgroundProcessTicket ticket) |
| Returns whether a previously queued process has completed or not. | |
Static Public Member Functions | |
| ResourceBackgroundQueue & | getSingleton (void) |
| Override standard Singleton retrieval. | |
| ResourceBackgroundQueue * | getSingletonPtr (void) |
| Override standard Singleton retrieval. | |
Protected Types | |
| typedef std::list< Request > | RequestQueue |
| typedef std::map< BackgroundProcessTicket, Request * > | RequestTicketMap |
| enum | RequestType { RT_INITIALISE_GROUP, RT_INITIALISE_ALL_GROUPS, RT_LOAD_GROUP, RT_LOAD_RESOURCE, RT_SHUTDOWN } |
| Enumerates the type of requests. More... | |
Protected Attributes | |
| RequestQueue | mRequestQueue |
| Queue of requests, used to store and order requests. | |
| RequestTicketMap | mRequestTicketMap |
| Request lookup by ticket. | |
| unsigned long | mNextTicketID |
| Next ticket ID. | |
| void * | mThread |
| Dummy. | |
Static Protected Attributes | |
| ResourceBackgroundQueue * | ms_Singleton |
Definition at line 90 of file OgreResourceBackgroundQueue.h.
|
|
Definition at line 115 of file OgreResourceBackgroundQueue.h. |
|
|
Definition at line 116 of file OgreResourceBackgroundQueue.h. |
|
|
Enumerates the type of requests.
Definition at line 94 of file OgreResourceBackgroundQueue.h. |
|
|
Private mutex, not allowed to lock from outside.
|
|
|
|
|
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< ResourceBackgroundQueue >. |
|
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< ResourceBackgroundQueue >. |
|
|
Initialise the background queue system.
|
|
|
Initialise all resource groups which are yet to be initialised in the background.
|
|
||||||||||||
|
Initialise a resource group in the background.
|
|
|
Returns whether a previously queued process has completed or not.
|
|
||||||||||||||||||||||||||||||||
|
Load a single resource in the background.
|
|
||||||||||||
|
Loads a resource group in the background.
|
|
|
Shut down the background queue system.
|
|
|
Next ticket ID.
Definition at line 125 of file OgreResourceBackgroundQueue.h. |
|
|
Queue of requests, used to store and order requests.
Definition at line 119 of file OgreResourceBackgroundQueue.h. |
|
|
Request lookup by ticket.
Definition at line 122 of file OgreResourceBackgroundQueue.h. |
|
|
Definition at line 54 of file OgreSingleton.h. |
|
|
Dummy.
Definition at line 138 of file OgreResourceBackgroundQueue.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:39:02 2005