casa::PlotMSExportThread Class Reference

Subclass of PlotMSThread for exporting a plot. More...

#include <PlotMSExportThread.qo.h>

Inheritance diagram for casa::PlotMSExportThread:
casa::PlotMSThread casa::PlotOperationWatcher casa::ThreadController casa::ThreadCommunication

List of all members.

Public Member Functions

 PlotMSExportThread (QtProgressWidget *widget, PlotMSPlotter *plotter, const String &location, PMSPTMethod postThreadMethod=NULL, PMSPTObject postThreadObject=NULL)
 Constructor which takes the plot to export, the export format parameters, and optional post-thread method parameters.
 ~PlotMSExportThread ()
 Destructor.
virtual void cancel ()
 For when the user requests "cancel" for the thread.
virtual void startOperation ()
 Implements PlotMSThread::startOperation().
void operationChanged (const PlotOperation &operation)
 Implements PlotOperationWatcher::operationChanged().
virtual QString getName () const

Protected Member Functions

virtual void threadFinished ()
 Slot for when the QThread finishes.

Private Member Functions

 PlotMSExportThread (const PlotMSExportThread &other)
PlotMSExportThread operator= (const PlotMSExportThread &other)

Private Attributes

vector< PlotMSPlot * > itsPlots_
 Plot.
String exportLocation
 Format.
vector< vector
< PlotOperationPtr > > 
itsOperations_
 Export operations.
QMutex itsMutex_
 Mutex.
PlotMSPlotter * itsPlotter_

Detailed Description

Subclass of PlotMSThread for exporting a plot.

Definition at line 44 of file PlotMSExportThread.qo.h.


Constructor & Destructor Documentation

casa::PlotMSExportThread::PlotMSExportThread ( QtProgressWidget *  widget,
PlotMSPlotter *  plotter,
const String &  location,
PMSPTMethod  postThreadMethod = NULL,
PMSPTObject  postThreadObject = NULL 
)

Constructor which takes the plot to export, the export format parameters, and optional post-thread method parameters.

casa::PlotMSExportThread::~PlotMSExportThread (  ) 

Destructor.

casa::PlotMSExportThread::PlotMSExportThread ( const PlotMSExportThread &  other  )  [private]

Member Function Documentation

virtual void casa::PlotMSExportThread::cancel (  )  [virtual]

For when the user requests "cancel" for the thread.

Reimplemented from casa::ThreadController.

virtual QString casa::PlotMSExportThread::getName (  )  const [virtual]

Implements casa::PlotMSThread.

void casa::PlotMSExportThread::operationChanged ( const PlotOperation &  operation  )  [virtual]
PlotMSExportThread casa::PlotMSExportThread::operator= ( const PlotMSExportThread &  other  )  [private]

Reimplemented from casa::ThreadController.

virtual void casa::PlotMSExportThread::startOperation (  )  [virtual]
virtual void casa::PlotMSExportThread::threadFinished (  )  [protected, virtual]

Slot for when the QThread finishes.

Reimplemented from casa::PlotMSThread.


Member Data Documentation

Format.

PlotExportFormat itsFormat_;

Definition at line 82 of file PlotMSExportThread.qo.h.

Mutex.

Definition at line 88 of file PlotMSExportThread.qo.h.

Export operations.

Definition at line 85 of file PlotMSExportThread.qo.h.

Plot.

Definition at line 78 of file PlotMSExportThread.qo.h.

Definition at line 90 of file PlotMSExportThread.qo.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1