casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::TBExportThread Class Reference

Thread that exports a table to VOTable XML format. More...

#include <TBExportThread.h>

Inheritance diagram for casa::TBExportThread:

Public Member Functions

 TBExportThread (TBTable *table, casacore::String file, ProgressHelper *progressPanel=NULL)
 Constructor that takes the table to export, the file to export to, and an optional ProgressHelper to show the progress of the export. More...
 
 ~TBExportThread ()
 
void run ()
 Overrides QThread::run() which defines the task to be completed by the thread. More...
 

Private Attributes

TBTabletable
 casacore::Table to export. More...
 
casacore::String file
 casacore::File to export to. More...
 
ProgressHelperprogressPanel
 (Optional) progress helper. More...
 

Detailed Description

Thread that exports a table to VOTable XML format.

Synopsis

TBExportThread is a subclass of QThread assigned with the task of exporting a table into VOTable XML format to a specified file. This task can work in the background to allow the user to continue interacting with the table browser.

Definition at line 50 of file TBExportThread.h.

Constructor & Destructor Documentation

casa::TBExportThread::TBExportThread ( TBTable table,
casacore::String  file,
ProgressHelper progressPanel = NULL 
)

Constructor that takes the table to export, the file to export to, and an optional ProgressHelper to show the progress of the export.

casa::TBExportThread::~TBExportThread ( )

Member Function Documentation

void casa::TBExportThread::run ( )

Overrides QThread::run() which defines the task to be completed by the thread.

See TBTable::exportVOTable().

Member Data Documentation

casacore::String casa::TBExportThread::file
private

casacore::File to export to.

Definition at line 69 of file TBExportThread.h.

ProgressHelper* casa::TBExportThread::progressPanel
private

(Optional) progress helper.

Definition at line 72 of file TBExportThread.h.

TBTable* casa::TBExportThread::table
private

casacore::Table to export.

Definition at line 66 of file TBExportThread.h.


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