Subclass of PlotMSThread that handles following the progress of canvas drawing. More...
#include <PlotMSDrawThread.qo.h>
Public Member Functions | |
| PlotMSDrawThread (PlotMSPlotter *plotter, QtProgressWidget *progress, PMSPTMethod postThreadMethod=NULL, PMSPTObject postThreadObject=NULL) | |
| Constructor which takes the plotter, and optional post-thread method parameters. | |
| ~PlotMSDrawThread () | |
| Destructor. | |
| void | updatePlotterCanvases () |
| Updates the internal list of canvases based upon the parent PlotMSPlotter. | |
| virtual void | startOperation () |
| Implements PlotMSThread::startOperation(). | |
| bool | isDrawing () const |
| void | operationChanged (const PlotOperation &operation) |
| Implements PlotOperationWatcher::operationChanged(). | |
| virtual QString | getName () const |
Protected Member Functions | |
| void | cancel () |
| For when the user requests "cancel" for the thread. | |
Private Member Functions | |
| PlotMSDrawThread (const PlotMSDrawThread &other) | |
| PlotMSDrawThread | operator= (const PlotMSDrawThread &other) |
Private Attributes | |
| PlotMSPlotter * | itsPlotter_ |
| std::vector< PlotOperationPtr > | itsOperations_ |
| Operations. | |
| QMutex | itsOperationsMutex_ |
| Mutex for accessing operations. | |
| bool | isRunning_ |
| Flag for if thread is currently running or not. | |
| bool | itsOperationFlag_ |
| Flag indicating that one or more operations tried to call operationChanged() while the operations mutex was locked. | |
Subclass of PlotMSThread that handles following the progress of canvas drawing.
Definition at line 43 of file PlotMSDrawThread.qo.h.
| casa::PlotMSDrawThread::PlotMSDrawThread | ( | PlotMSPlotter * | plotter, | |
| QtProgressWidget * | progress, | |||
| PMSPTMethod | postThreadMethod = NULL, |
|||
| PMSPTObject | postThreadObject = NULL | |||
| ) |
Constructor which takes the plotter, and optional post-thread method parameters.
| casa::PlotMSDrawThread::~PlotMSDrawThread | ( | ) |
Destructor.
| casa::PlotMSDrawThread::PlotMSDrawThread | ( | const PlotMSDrawThread & | other | ) | [private] |
| void casa::PlotMSDrawThread::cancel | ( | ) | [protected, virtual] |
For when the user requests "cancel" for the thread.
Reimplemented from casa::ThreadController.
| virtual QString casa::PlotMSDrawThread::getName | ( | ) | const [virtual] |
Implements casa::PlotMSThread.
| bool casa::PlotMSDrawThread::isDrawing | ( | ) | const |
| void casa::PlotMSDrawThread::operationChanged | ( | const PlotOperation & | operation | ) | [virtual] |
Implements PlotOperationWatcher::operationChanged().
Implements casa::PlotOperationWatcher.
| PlotMSDrawThread casa::PlotMSDrawThread::operator= | ( | const PlotMSDrawThread & | other | ) | [private] |
Reimplemented from casa::ThreadController.
| virtual void casa::PlotMSDrawThread::startOperation | ( | ) | [virtual] |
Implements PlotMSThread::startOperation().
Implements casa::PlotMSThread.
| void casa::PlotMSDrawThread::updatePlotterCanvases | ( | ) |
Updates the internal list of canvases based upon the parent PlotMSPlotter.
bool casa::PlotMSDrawThread::isRunning_ [private] |
Flag for if thread is currently running or not.
Definition at line 88 of file PlotMSDrawThread.qo.h.
bool casa::PlotMSDrawThread::itsOperationFlag_ [private] |
Flag indicating that one or more operations tried to call operationChanged() while the operations mutex was locked.
Definition at line 92 of file PlotMSDrawThread.qo.h.
std::vector<PlotOperationPtr> casa::PlotMSDrawThread::itsOperations_ [private] |
Operations.
Definition at line 82 of file PlotMSDrawThread.qo.h.
QMutex casa::PlotMSDrawThread::itsOperationsMutex_ [private] |
Mutex for accessing operations.
Definition at line 85 of file PlotMSDrawThread.qo.h.
PlotMSPlotter* casa::PlotMSDrawThread::itsPlotter_ [private] |
Definition at line 79 of file PlotMSDrawThread.qo.h.
1.6.1