This abstract class defines an interface which is called back during resource group loading to indicate the progress of the load. More...
#include <OgreResourceGroupManager.h>
Public Member Functions | |
virtual | ~ResourceGroupListener () |
virtual void | resourceCreated (const ResourcePtr &resource) |
This event is fired when a resource was just created. More... | |
virtual void | resourceGroupLoadEnded (const String &groupName)=0 |
This event is fired when a resource group finished loading. More... | |
virtual void | resourceGroupLoadStarted (const String &groupName, size_t resourceCount)=0 |
This event is fired when a resource group begins loading. More... | |
virtual void | resourceGroupPrepareEnded (const String &groupName) |
This event is fired when a resource group finished preparing. More... | |
virtual void | resourceGroupPrepareStarted (const String &groupName, size_t resourceCount) |
This event is fired when a resource group begins preparing. More... | |
virtual void | resourceGroupScriptingEnded (const String &groupName)=0 |
This event is fired when a resource group finished parsing scripts. More... | |
virtual void | resourceGroupScriptingStarted (const String &groupName, size_t scriptCount)=0 |
This event is fired when a resource group begins parsing scripts. More... | |
virtual void | resourceLoadEnded (void)=0 |
This event is fired when the resource has been loaded. More... | |
virtual void | resourceLoadStarted (const ResourcePtr &resource)=0 |
This event is fired when a declared resource is about to be loaded. More... | |
virtual void | resourcePrepareEnded (void) |
This event is fired when the resource has been prepared. More... | |
virtual void | resourcePrepareStarted (const ResourcePtr &resource) |
This event is fired when a declared resource is about to be prepared. More... | |
virtual void | resourceRemove (const ResourcePtr &resource) |
This event is fired when a resource is about to be removed. More... | |
virtual void | scriptParseEnded (const String &scriptName, bool skipped)=0 |
This event is fired when the script has been fully parsed. More... | |
virtual void | scriptParseStarted (const String &scriptName, bool &skipThisScript)=0 |
This event is fired when a script is about to be parsed. More... | |
virtual void | worldGeometryPrepareStageEnded (void) |
This event is fired when a stage of preparing linked world geometry has been completed. More... | |
virtual void | worldGeometryPrepareStageStarted (const String &description) |
This event is fired when a stage of preparing linked world geometry is about to start. More... | |
virtual void | worldGeometryStageEnded (void)=0 |
This event is fired when a stage of loading linked world geometry has been completed. More... | |
virtual void | worldGeometryStageStarted (const String &description)=0 |
This event is fired when a stage of loading linked world geometry is about to start. More... | |
This abstract class defines an interface which is called back during resource group loading to indicate the progress of the load.
Definition at line 86 of file OgreResourceGroupManager.h.
|
inlinevirtual |
Definition at line 89 of file OgreResourceGroupManager.h.
|
inlinevirtual |
This event is fired when a resource was just created.
resource | Weak reference to the resource created. |
Definition at line 179 of file OgreResourceGroupManager.h.
|
pure virtual |
This event is fired when a resource group finished loading.
|
pure virtual |
This event is fired when a resource group begins loading.
groupName | The name of the group being loaded |
resourceCount | The number of resources which will be loaded, including a number of stages required to load any linked world geometry |
|
inlinevirtual |
This event is fired when a resource group finished preparing.
Definition at line 147 of file OgreResourceGroupManager.h.
|
inlinevirtual |
This event is fired when a resource group begins preparing.
groupName | The name of the group being prepared |
resourceCount | The number of resources which will be prepared, including a number of stages required to prepare any linked world geometry |
Definition at line 121 of file OgreResourceGroupManager.h.
|
pure virtual |
This event is fired when a resource group finished parsing scripts.
|
pure virtual |
This event is fired when a resource group begins parsing scripts.
groupName | The name of the group |
scriptCount | The number of scripts which will be parsed |
|
pure virtual |
This event is fired when the resource has been loaded.
|
pure virtual |
This event is fired when a declared resource is about to be loaded.
resource | Weak reference to the resource loaded. |
|
inlinevirtual |
This event is fired when the resource has been prepared.
Definition at line 132 of file OgreResourceGroupManager.h.
|
inlinevirtual |
This event is fired when a declared resource is about to be prepared.
resource | Weak reference to the resource prepared. |
Definition at line 127 of file OgreResourceGroupManager.h.
|
inlinevirtual |
This event is fired when a resource is about to be removed.
resource | Weak reference to the resource removed. |
Definition at line 184 of file OgreResourceGroupManager.h.
|
pure virtual |
This event is fired when the script has been fully parsed.
|
pure virtual |
This event is fired when a script is about to be parsed.
scriptName | Name of the to be parsed |
skipThisScript | A boolean passed by reference which is by default set to false. If the event sets this to true, the script will be skipped and not parsed. Note that in this case the scriptParseEnded event will not be raised for this script. |
|
inlinevirtual |
This event is fired when a stage of preparing linked world geometry has been completed.
The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
Definition at line 145 of file OgreResourceGroupManager.h.
|
inlinevirtual |
This event is fired when a stage of preparing linked world geometry is about to start.
The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
description | Text description of what was just prepared |
Definition at line 138 of file OgreResourceGroupManager.h.
|
pure virtual |
This event is fired when a stage of loading linked world geometry has been completed.
The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
|
pure virtual |
This event is fired when a stage of loading linked world geometry is about to start.
The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
description | Text description of what was just loaded |