SORTIE Java Interface  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
sortie.tools.batchoutput.FileWritingBackgroundProcess Class Reference

This class triggers the writing of the chosen output in a background thread so that it can be reported on with the progress bar or canceled. More...

Inheritance diagram for sortie.tools.batchoutput.FileWritingBackgroundProcess:

Public Member Functions

Integer doInBackground ()
 Background work thread for assembling chart options from a list of detailed output files. More...
 

Protected Member Functions

void done ()
 This function is called when the work in the background thread is done. More...
 

Private Attributes

ProgressDialog m_oDialog
 The progress bar dialog. More...
 
int m_iErrorCode = 0
 Error code. More...
 
BatchDetailedOutput m_oBatchMaster
 Master batch class. More...
 

Detailed Description

This class triggers the writing of the chosen output in a background thread so that it can be reported on with the progress bar or canceled.

Member Function Documentation

◆ doInBackground()

Integer sortie.tools.batchoutput.FileWritingBackgroundProcess.doInBackground ( )

Background work thread for assembling chart options from a list of detailed output files.

This will get all of the choices and merge them union (as opposed to an intersection). The results are set back into the batch master.

◆ done()

void sortie.tools.batchoutput.FileWritingBackgroundProcess.done ( )
protected

This function is called when the work in the background thread is done.

We do window closing and opening here because this is guaranteed to wait until the background thread has completed.

Member Data Documentation

◆ m_iErrorCode

int sortie.tools.batchoutput.FileWritingBackgroundProcess.m_iErrorCode = 0
private

Error code.

0 = no error, 1 = processing error, 2 = user canceled.

◆ m_oBatchMaster

BatchDetailedOutput sortie.tools.batchoutput.FileWritingBackgroundProcess.m_oBatchMaster
private

Master batch class.

◆ m_oDialog

ProgressDialog sortie.tools.batchoutput.FileWritingBackgroundProcess.m_oDialog
private

The progress bar dialog.


The documentation for this class was generated from the following file: