Subclass of PlotMSThread for exporting a plot. More...
#include <PlotMSExportThread.qo.h>
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_ |
Subclass of PlotMSThread for exporting a plot.
Definition at line 44 of file PlotMSExportThread.qo.h.
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] |
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] |
Implements PlotOperationWatcher::operationChanged().
Implements casa::PlotOperationWatcher.
PlotMSExportThread casa::PlotMSExportThread::operator= | ( | const PlotMSExportThread & | other | ) | [private] |
Reimplemented from casa::ThreadController.
virtual void casa::PlotMSExportThread::startOperation | ( | ) | [virtual] |
Implements PlotMSThread::startOperation().
Implements casa::PlotMSThread.
virtual void casa::PlotMSExportThread::threadFinished | ( | ) | [protected, virtual] |
Slot for when the QThread finishes.
Reimplemented from casa::PlotMSThread.
String casa::PlotMSExportThread::exportLocation [private] |
QMutex casa::PlotMSExportThread::itsMutex_ [private] |
Mutex.
Definition at line 88 of file PlotMSExportThread.qo.h.
vector<vector<PlotOperationPtr> > casa::PlotMSExportThread::itsOperations_ [private] |
Export operations.
Definition at line 85 of file PlotMSExportThread.qo.h.
vector<PlotMSPlot*> casa::PlotMSExportThread::itsPlots_ [private] |
Plot.
Definition at line 78 of file PlotMSExportThread.qo.h.
Definition at line 90 of file PlotMSExportThread.qo.h.