|
wavelength 1.0.0
|
Interface a loader consults before it creates each object of its file. More...
#include <rndloader.h>

Public Member Functions | |
| virtual void | SetObjectCount (int nObjects) |
| Receive the number of objects of the file before the first is created. | |
| virtual int | ShouldLoad (RndObject *pExisting, const char *pszName, const char *pszClass)=0 |
| Decide whether the loader loads an object of its file. | |
| virtual | ~Callback () |
| Destroy the callback. | |
Interface a loader consults before it creates each object of its file.
The RTTI includes the nested class name. The class is abstract.
|
inlinevirtual |
Destroy the callback.
Reimplemented in UIManager::Callback.
|
inlinevirtual |
Receive the number of objects of the file before the first is created.
The base does nothing. The name is inferred.
| nObjects | The number of objects. |
|
pure virtual |
Decide whether the loader loads an object of its file.
| pExisting | The loaded object with the same name, or null when none exists. |
| pszName | The object name. |
| pszClass | The class name the file records for the object. |
Implemented in AvatarPart::Callback, GfxManager::GfxLoader, and UIManager::Callback.