Multithreaded loader which can do both synchronous and asynchronous loads from local files.
When the loader thread starts the priority of the thread is set to TSLPriorityMTBelow.
|
| | TSLFileLoaderMT () |
| TSLPriorityEnum | getPriority () |
| void | setPriority (TSLPriorityEnum priority) |
| void * | operator new (size_t size) TSL_NO_THROW |
| void * | operator new (size_t size, char *filename, int line) |
| void | cancelAllLoads () |
| void | destroy () |
| bool | fileExists (const char *filename) |
| bool | fileModificationTime (TSLPathList *pathList, const char *filename, TSLTimeType &lastModificationTime) |
| bool | findMatchingFile (TSLPathList *pathList, const char *filename, TSLSimpleString &fullPathFound, TSLMaplCompressionOption *compression=0, bool *remote=0) |
| TSLLoaderStatus | load (TSLPathList *pathList, const char *filename, TSLLoaderCallback callback, void *arg, bool synchronous=true) |
| TSLLoaderStatus | loadImmediate (TSLPathList *pathList, const char *filename, TSLifstream *stream) |
| TSLLoaderStatus | loadSegment (TSLPathList *pathList, const char *filename, TSLFileOffset offset, TSLFileLength length, TSLLoaderCallback callback, void *arg, bool synchronous=true) |
| TSLLoaderStatus | loadSegmentImmediate (TSLPathList *pathList, const char *filename, TSLFileOffset offset, TSLFileLength length, TSLifstream *stream) |
| void | setCallback (TSLLoaderFileCallback callback, void *userData, int loaderCallbacks) |
| TSLFileLoaderTypeEnum | type () const |