Package org.xj3d.impl.core.loading
Class DefaultLoadManager
java.lang.Object
org.xj3d.impl.core.loading.AbstractLoadManager
org.xj3d.impl.core.loading.DefaultLoadManager
- All Implemented Interfaces:
VRMLUrlListener
,ContentLoadManager
,LoadConstants
A simplistic manager for loading files that does no caching.
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.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from interface org.xj3d.core.loading.LoadConstants
DEFAULT_SORT_ORDER, MEM_ALLOC_PROP, SORT_AUDIO, SORT_CREATE, SORT_INLINE, SORT_LOAD_URL, SORT_MOVIE, SORT_ORDER_PROP, SORT_OTHER, SORT_PROTO, SORT_SCRIPT, SORT_SHADER, SORT_TEXTURE
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new load manager initialised with the content loading threads ready to work. -
Method Summary
Methods inherited from class org.xj3d.impl.core.loading.AbstractLoadManager
clear, getNumberInProgress, queueExternProtoLoad, queueNodesLoad, queueSceneLoad, setErrorReporter, shutdown, stopSceneLoad, urlChanged
-
Constructor Details
-
DefaultLoadManager
public DefaultLoadManager()Create a new load manager initialised with the content loading threads ready to work.
-
-
Method Details
-
getCache
Request to fetch the cache used by the derived type.- Specified by:
getCache
in classAbstractLoadManager
- Returns:
- The file cache instance
-