casa
$Rev:20696$
|
Subclass of PlotMSThread for exporting a plot. More...
#include <PlotMSExportThread.qo.h>
Public Member Functions | |
PlotMSExportThread (PlotMSPlot *plot, const PlotExportFormat &format, bool interactive, 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. | |
void | startOperation () |
Implements PlotMSThread::startOperation(). | |
void | operationChanged (const PlotOperation &operation) |
Implements PlotOperationWatcher::operationChanged(). | |
Protected Slots | |
void | background () |
Implements PlotMSThread::background(). | |
void | pause () |
Implements PlotMSThread::pause(). | |
void | resume () |
Implements PlotMSThread::resume(). | |
void | cancel () |
Implements PlotMSThread::cancel(). | |
Protected Member Functions | |
bool | wasCanceled () const |
Implements PlotMSThread::wasCanceled(). | |
Private Slots | |
void | threadFinished () |
Slot for when the QThread finishes. | |
Private Attributes | |
PlotMSPlot * | itsPlot_ |
Plot. | |
PlotExportFormat | itsFormat_ |
Format. | |
vector< PlotOperationPtr > | itsOperations_ |
Export operations. | |
QMutex | itsMutex_ |
Mutex. | |
PlotMSExportThreadHelper * | itsHelper_ |
Helper. | |
Bool | _interactive |
Interactive mode? | |
Friends | |
class | PlotMSExportThreadHelper |
Subclass of PlotMSThread for exporting a plot.
Definition at line 48 of file PlotMSExportThread.qo.h.
casa::PlotMSExportThread::PlotMSExportThread | ( | PlotMSPlot * | plot, |
const PlotExportFormat & | format, | ||
bool | interactive, | ||
PMSPTMethod | postThreadMethod = NULL , |
||
PMSPTObject | postThreadObject = NULL |
||
) |
Constructor which takes the plot to export, the export format parameters, and optional post-thread method parameters.
Destructor.
void casa::PlotMSExportThread::background | ( | ) | [protected, virtual, slot] |
void casa::PlotMSExportThread::cancel | ( | ) | [protected, virtual, slot] |
void casa::PlotMSExportThread::operationChanged | ( | const PlotOperation & | operation | ) | [virtual] |
Implements PlotOperationWatcher::operationChanged().
Implements casa::PlotOperationWatcher.
void casa::PlotMSExportThread::pause | ( | ) | [protected, virtual, slot] |
void casa::PlotMSExportThread::resume | ( | ) | [protected, virtual, slot] |
void casa::PlotMSExportThread::startOperation | ( | ) | [virtual] |
Implements PlotMSThread::startOperation().
Implements casa::PlotMSThread.
void casa::PlotMSExportThread::threadFinished | ( | ) | [private, slot] |
Slot for when the QThread finishes.
bool casa::PlotMSExportThread::wasCanceled | ( | ) | const [protected, virtual] |
Implements PlotMSThread::wasCanceled().
Implements casa::PlotMSThread.
friend class PlotMSExportThreadHelper [friend] |
Definition at line 52 of file PlotMSExportThread.qo.h.
Bool casa::PlotMSExportThread::_interactive [private] |
Interactive mode?
Definition at line 106 of file PlotMSExportThread.qo.h.
Format.
Definition at line 94 of file PlotMSExportThread.qo.h.
Helper.
Definition at line 103 of file PlotMSExportThread.qo.h.
QMutex casa::PlotMSExportThread::itsMutex_ [private] |
Definition at line 100 of file PlotMSExportThread.qo.h.
vector<PlotOperationPtr> casa::PlotMSExportThread::itsOperations_ [private] |
Export operations.
Definition at line 97 of file PlotMSExportThread.qo.h.
PlotMSPlot* casa::PlotMSExportThread::itsPlot_ [private] |
Plot.
Definition at line 91 of file PlotMSExportThread.qo.h.