![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
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.
Public Member Functions | |
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 |
Additional Inherited Members | |
![]() | |
TSLFileLoader () | |
~TSLFileLoader () | |
TSLFileLoaderMT::TSLFileLoaderMT | ( | ) |
Default constructor
TSLPriorityEnum TSLFileLoaderMT::getPriority | ( | ) |
Gets the loader priority.
void * TSLFileLoaderMT::operator new | ( | size_t | size | ) |
Overridden allocation to redirect to MapLink
void * TSLFileLoaderMT::operator new | ( | size_t | size, |
char * | filename, | ||
int | line ) |
When included in an MFC application in debug mode, the debug new expects this to be here. Override it and return the same as the normal one. The library must include it when compiled in release mode, since the user's application may be in debug mode.
void TSLFileLoaderMT::setPriority | ( | TSLPriorityEnum | priority | ) |
Sets the loader priority.
priority | the required priority |