![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
TSLInteropManager provides pre-processing and post-processing functionality for TMF data.
This class is typically used before writing TMF data to a native file format or after reading such data. The TSLUtilityFunctions class and appropriate filters provide the read/write functionality. The TSLInteropManager is configured via a separate class TSLInteropConfig.
TSLInteropManager objects should be allocated on the heap using the new operator. They cannot be instantiated on the stack. They should be destroyed by calling the destroy method rather than deleting them since the calls are redirected internally to MapLink.
Public Member Functions | |
TSLInteropManager () | |
void | destroy () |
bool | postImportProcess (const TSLInteropConfig *config, const TSLInteropImportSet *importSet, bool append, TSLStandardDataLayer *processedLayer) |
bool | preExportProcess (const TSLInteropConfig *config, const TSLStandardDataLayer *layer, TSLInteropExportSet **exportSet) |
void * | operator new (size_t size) TSL_NO_THROW |
void * | operator new (size_t size, char *filename, int line) |
TSLInteropManager::TSLInteropManager | ( | ) |
Creates a default TSLInteropManager.
void TSLInteropManager::destroy | ( | ) |
Destroy method. This should be called rather than deleting the object, since the calls are redirected internally to MapLink.
void * TSLInteropManager::operator new | ( | size_t | size | ) |
Overridden allocation to redirect to MapLink
void * TSLInteropManager::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.
bool TSLInteropManager::postImportProcess | ( | const TSLInteropConfig * | config, |
const TSLInteropImportSet * | importSet, | ||
bool | append, | ||
TSLStandardDataLayer * | processedLayer ) |
Post-process a set of TSLStandardDataLayers. The processing options are defined by the TSLInteropConfig object; refer to the description of that class for a summary of these options.
config | Configuration settings to be used for post-processing. |
importSet | Container for the set of TSLStandardDataLayers to be post-processed. |
append | Flag to indicate whether the processed data is appended to any existing data in processedLayer or whether the data in processedLayer is removed beforehand. |
processedLayer | TSLStandarDataLayer that is to hold the processed data. The client owns this layer and must create it before calling this method. |
bool TSLInteropManager::preExportProcess | ( | const TSLInteropConfig * | config, |
const TSLStandardDataLayer * | layer, | ||
TSLInteropExportSet ** | exportSet ) |
Pre-process a TSLStandardDataLayer. The processing options are defined by the TSLInteropConfig object; refer to the description of that class for a summary of these options.
config | Configuration settings to be used for pre-processing. |
layer | TSLStandardDataLayer that is to be pre-processed. |
exportSet | Container for the set of pre-processed TSLStandardDataLayers. The return manager creates the TSLInteropExportSet object and it to the client via this argument; the client takes ownership of it. |