|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An abstract definition of managers for loading files that are external to the currently loading file eg Textures, inlines and protos.
The loader is given a scene and told to start loading the contents. During this time items progress from pending to loading to loaded. The load manager is cancelable so that a particular scene can be interrupted part way through loading. The manager is designed to load multiple scenes in parallel or to have parallel instances of this manager loading data.
| Method Summary | |
void |
clear()
Force clearing all state from this manager now. |
void |
queueExternProtoLoad(VRMLExternProtoDeclare proto)
Queue for loading a single externproto implementation. |
void |
queueNodesLoad(NodeArray nodes)
Queue an arbitrary collection of nodes for loading. |
void |
queueSceneLoad(BasicScene scene)
Start loading the contents of the given scene. |
void |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. |
void |
shutdown()
Notification that the manager needs to shut down all the currently running threads. |
void |
stopSceneLoad(BasicScene scene)
Stop the named scene from loading. |
| Method Detail |
public void setErrorReporter(ErrorReporter reporter)
reporter - The instance to use or nullpublic void queueExternProtoLoad(VRMLExternProtoDeclare proto)
proto - The proto declaration that needs to be queued uppublic void queueSceneLoad(BasicScene scene)
scene - The scene to load content forpublic void queueNodesLoad(NodeArray nodes)
nodes - Array of nodes to addpublic void stopSceneLoad(BasicScene scene)
scene - The scene to stop loadingpublic void clear()
public void shutdown()
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||